Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fon requirement from 0.5 to 0.6 #57

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
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)

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] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 31, 2022
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants