Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jan 31, 2022

Updates the requirements on fon to permit the latest version.

Changelog

Sourced from fon's changelog.

[0.6.0] - 2022-01-29

Added

  • Support for no-std!
  • chan::Ch24, a 24-bit integer channel
  • chan::Channel::to_f32()
  • pos module containing types for type-safe channel indexing on Frame
  • Audio::as_u8_slice()
  • Audio::silence() to silence the entire audio buffer
  • AudioSink public type returned from Audio::sink()
  • Audio::with_u8_buffer()
  • Audio::with_audio()
  • From<Audio> for both boxed primitive samples and Vec<Frame>
  • Frame::new()
  • Frame::pan()
  • Frame::gain()
  • SinkTo struct for converting audio while streaming
  • Sink::len()
  • Sink::sink_with()
  • Sink::is_empty()

Changed

  • Renamed Audio::as_slice() to Audio::as_mut_slice(), and Audio::as_slice() now returns an immutable slice
  • Frame is now a struct (rather than a trait), and makes use of const generics
  • Rename Frame::convert() to Frame::to()
  • Merged Stream trait and Resampler struct into a new Stream struct
  • Changed Audio back to being backed by a Box<[Frame]>
  • Sink is now object-safe
  • Sample rates are now represented as NonZeroU32

Removed

  • chan::Ch8 because 8-bit audio is uncommon today and you can use Ch16 for 8-bit audio as well as 12-bit audio.
  • Audio::with_i8_buffer()
  • chan::Channel::to_f64() and chan::Channel::from_f64()
  • Audio::with_frame(); Use Audio::with_frames(hz, vec![_; len]) instead
  • Audio::with_stream(); Use Audio::with_audio() or Audio::sink() instead
  • Audio as IntoIterator; Use Audio::iter() instead.
  • Frame::from_f64()
  • Frame::from_channel()
  • Frame::from_channels()
  • Frame::from_mono()
  • Sink::buffer()
  • Sink::resampler()
  • Sink::flush()
  • Sink::stream()

Fixed

  • Resampler now does proper resampling

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 31, 2022
@dependabot dependabot bot force-pushed the dependabot/cargo/fon-0.6 branch from 9e076e2 to 1a594e0 Compare August 28, 2022 05:52
@AldaronLau AldaronLau force-pushed the dependabot/cargo/fon-0.6 branch from 1a594e0 to a34f229 Compare August 28, 2022 18:43
Updates the requirements on [fon](https://github.com/ardaku/fon) to permit the latest version. - [Release notes](https://github.com/ardaku/fon/releases) - [Changelog](https://github.com/ardaku/fon/blob/stable/CHANGELOG.md) - [Commits](ardaku/fon@v0.5.0...v0.6.0) --- updated-dependencies: - dependency-name: fon dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
@AldaronLau AldaronLau force-pushed the dependabot/cargo/fon-0.6 branch from a34f229 to 2c2f71b Compare August 28, 2022 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

1 participant