Skip to content

Commit d878e89

Browse files
authored
Merge pull request #753 from RustAudio/feat/default-to-symphonia
feat: change default decoder to Symphonia and update feature flags
2 parents 071db6d + dd2a49b commit d878e89

File tree

14 files changed

+328
-205
lines changed

14 files changed

+328
-205
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ jobs:
4545
4646
- run: cargo test --all-targets
4747
- run: cargo test --lib --bins --tests --benches --features=experimental
48-
- run: cargo test --all-targets --features=symphonia-all
48+
- run: cargo test --all-targets --features=symphonia-all,wav_output
4949
# `cargo test` does not check benchmarks and `cargo test --all-targets` excludes
5050
# documentation tests. Therefore, we need an additional docs test command here.
5151
- run: cargo test --doc
5252
# Check minimal build.
5353
- run: cargo check --tests --lib --no-default-features
5454
# Check alternative decoders.
55-
- run: cargo check --tests --lib --no-default-features --features minimp3
55+
- run: cargo check --tests --lib --no-default-features --features claxon,hound,minimp3,lewton

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
### Added
1313
- Added `Source::amplify_decibel()` method to control volume by decibels.
1414
- Added `Source::amplify_normalized()` method to perceptually modify volume.
15-
- Adds a function to write a `Source` to a `wav` file, see `output_to_wav`.
15+
- Adds a function to write a `Source` to a `wav` file, enable the `wav_output` feature and see
16+
`output_to_wav`.
1617
- Output audio stream buffer size can now be adjusted.
1718
- Sources for directly generating square waves, triangle waves, square waves, and
1819
sawtooths have been added.
@@ -48,6 +49,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4849
functions from `dasp_sample` crate. For example `DaspSample::from_sample(sample)`.
4950
- `OutputStreamConfig` is now public.
5051
- Update `cpal` to [0.16](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0160-2025-06-07).
52+
- The default decoders have changed to Symphonia. The previous decoders are still available as
53+
optional features: use `claxon` for FLAC, `lewton` for Vorbis, and `hound` for WAV.
54+
- Support for decoding MP4 containers with AAC audio is now enabled by default.
55+
- Breaking: As optional features are now available: CAF and MKV containers, MP1/MP2 and ADPCM
56+
decoders. Previously, the ADPCM decoder was enabled when `symphonia-wav` was.
5157

5258
### Fixed
5359
- `ChannelVolume` no longer clips/overflows when converting from many channels to

0 commit comments

Comments
 (0)