Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: install ${{ matrix.toolchain }} toolchain
run: rustup toolchain install ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}

- run: cargo clippy -- -D warnings
- run: cargo clippy --all-features -- -D warnings
if: matrix.toolchain == 'stable' && matrix.os == 'ubuntu-latest'

- run: |
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Upgrade `cpal` to v0.16.
- Update dependencies.

### Fixed
- Fix clippy warnings with `Source::white` and `Source::pink` functions.

## Version [0.21] (2025-07-12)

### Added
Expand Down
2 changes: 1 addition & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ rodio. While we did our best, we might have missed things. PRs that improve this
guide are very welcome!

The list below only contains required code changes. For a complete list of
changes and new features, see [CHANGELOG.md].
changes and new features, see [CHANGELOG.md](CHANGELOG.md).

# rodio 0.21 to current GitHub version

Expand Down
4 changes: 2 additions & 2 deletions src/source/noise.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ use rand_distr::{Normal, Triangular};
use crate::{ChannelCount, Sample, SampleRate, Source};

/// Convenience function to create a new `WhiteUniform` noise source.
#[deprecated(since = "0.21", note = "use WhiteUniform::new() instead")]
#[deprecated(since = "0.21.0", note = "use WhiteUniform::new() instead")]
pub fn white(sample_rate: SampleRate) -> WhiteUniform<SmallRng> {
WhiteUniform::new(sample_rate)
}

/// Convenience function to create a new `Pink` noise source.
#[deprecated(since = "0.21", note = "use Pink::new() instead")]
#[deprecated(since = "0.21.0", note = "use Pink::new() instead")]
pub fn pink(sample_rate: SampleRate) -> Pink<SmallRng> {
Pink::new(sample_rate)
}
Expand Down
Loading