6.2 KiB
6.2 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
Version 0.20.1 (2024-11-08)
Fixed
- Builds without the
symphoniafeature did not compile
Version 0.20.0 (2024-11-08)
Added
- Support for ALAC/AIFF
- Add
automatic_gain_controlsource for dynamic audio level adjustment. - New test signal generator sources:
SignalGeneratorsource generates a sine, triangle, square wave or sawtooth of a given frequency and sample rate.Chirpsource generates a sine wave with a linearly-increasing frequency over a given frequency range and duration.whiteandpinkgenerate white or pink noise, respectively. These sources depend on therandcrate and are guarded with the "noise" feature.- Documentation for the "noise" feature has been added to
lib.rs.
- New Fade and Crossfade sources:
fade_outfades an input out using a linear gain fade.linear_gain_rampapplies a linear gain change to a sound over a given duration.fade_outis implemented as alinear_gain_rampandfade_inhas been refactored to use thelinear_gain_rampimplementation.
Fixed
Sink.try_seeknow updatescontrols.positionbefore returning. Calls toSink.get_posdone immediately after a seek will now return the correct value.
Changed
SamplesBufferis nowClone
Version 0.19.0 (2024-06-29)
Added
- Adds a new source
track_position. It keeps track of duration since the beginning of the underlying source.
Fixed
- Mp4a with decodable tracks after undecodable tracks now play. This matches VLC's behaviour.
Version 0.18.1 (2024-05-23)
Fixed
- Seek no longer hangs if the sink is empty.
Version 0.18.0 (2024-05-05)
Changed
Sourcetrait is now also implemented forBox<dyn Source>and&mut Sourcefn new_vorbisis now also available when thesymphonia-vorbisfeature is enabled
Added
- Adds a new method
try_seekto all sources. It returns either an error or seeks to the given position. A few sources are "unsupported" they return the errorUnsupported. - Adds
SpatialSink::clear()bringing it in line withSink
Fixed
- channel upscaling now follows the 'WAVEFORMATEXTENSIBLE' format and no longer repeats the last source channel on all extra output channels. Stereo content playing on a 5.1 speaker set will now only use the front left and front right speaker instead of repeating the right sample on all speakers except the front left one.
mp3::is_mp3()no longer changes the position in the stream when the stream is mp3
Version 0.17.3 (2023-10-23)
- Build fix for
minimp3backend.
Version 0.17.2 (2023-10-17)
- Add
EmptyCallbacksource. - Fix index out of bounds bug.
- Use non-vulnerable
minimp3fork. - Add filter functions with additional q parameter.
Version 0.17.1 (2023-02-25)
- Disable
symphonia's default features.
Version 0.17.0 (2023-02-17)
- Update
cpalto 0.15. - Default to
symphoniafor mp3 decoding.
Version 0.16.0 (2022-09-14)
Version 0.15.0 (2022-01-23)
- Remove requirement that the argument
Decoder::newandLoopedDecoder::newimplementSend. - Add optional symphonia backend.
WavDecoder'stotal_durationnow returns the total duration of the sound rather than the remaining duration.- Add 32-bit signed in WAV decoding.
SineWave::new()now takes af32instead of au32.- Add
len()method toSpatialSink.
Version 0.14.0 (2021-05-21)
- Re-export
cpalin full. - Replace panics when calling
OutputStream::try_default,OutputStream::try_from_devicewith newStreamErrorvariants. OutputStream::try_defaultwill now fallback to non-default output devices if anOutputStreamcannot be created from the default device.
Version 0.13.1 (2021-03-28)
- Fix panic when no
pulseaudio-alsawas installed.
Version 0.13.0 (2020-11-03)
- Update
cpalto 0.13. - Add Android support.
Version 0.12.0 (2020-10-05)
- Breaking: Update
cpalto 0.12. - Breaking: Rework API removing global "rodio audio processing" thread & adapting to the upstream cpal API changes.
- Add new_X format specific methods to Decoder.
- Fix resampler dependency on internal
Vec::capacitybehaviour.
Version 0.11.0 (2020-03-16)
Version 0.10.0 (2019-11-16)
- Removal of nalgebra in favour of own code.
- Fix a bug that switched channels when resuming after having paused.
- Attempt all supported output formats if the default format fails in
Sink::new. - Breaking: Update
cpalto 0.10.
Version 0.9.0 (2019-06-08)
- Remove exclusive
&mutborrow requirements inSink&SpatialSinksetters. - Use
nalgebrainstead ofcgmathforSpatialsource.
Version 0.8.1 (2018-09-18)
- Update
lewtondependency to 0.9 - Change license from
Apache-2.0only toApache-2.0 OR MIT
Version 0.8.0 (2018-06-22)
- Add mp3 decoding capabilities via
minimp3
Version 0.7.0 (2018-04-19)
- Update
cpaldependency to 0.8, and adopt the new naming convention - BREAKING CHANGES:
- renamed
EndpointtoDevice - split
default_endpoint()intodefault_output_device()anddefault_input_device() - renamed
endpoints()todevices() - introduced
output_devices()andinput_devices()
- renamed