2024-03-28 20:08:32 +00:00
|
|
|
# Changelog
|
|
|
|
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
|
|
|
|
## [Unreleased]
|
|
|
|
|
|
|
|
### Changed
|
2024-04-06 10:11:19 +00:00
|
|
|
- Adds a new method `try_seek` to all sources. It returns either an error or
|
|
|
|
seeks to the given position. A few sources are "unsupported" they return the
|
|
|
|
error `Unsupported`.
|
2024-03-28 20:08:32 +00:00
|
|
|
- `Source` trait is now also implemented for `Box<dyn Source>` and `&mut Source`
|
|
|
|
- `fn new_vorbis` is now also available when the `symphonia-vorbis` feature is enabled
|
|
|
|
|
|
|
|
### Added
|
|
|
|
- Adds `SpatialSink::clear()` bringing it in line with `Sink`
|
|
|
|
|
|
|
|
### Fixed
|
|
|
|
- `mp3::is_mp3()` no longer changes the position in the stream when the stream
|
|
|
|
is mp3
|
|
|
|
|
2023-10-23 12:50:26 +00:00
|
|
|
# Version 0.17.3 (2023-10-23)
|
|
|
|
|
|
|
|
- Build fix for `minimp3` backend.
|
|
|
|
|
2023-10-17 10:41:00 +00:00
|
|
|
# Version 0.17.2 (2023-10-17)
|
|
|
|
|
|
|
|
- Add `EmptyCallback` source.
|
|
|
|
- Fix index out of bounds bug.
|
|
|
|
- Use non-vulnerable `minimp3` fork.
|
|
|
|
- Add filter functions with additional q parameter.
|
|
|
|
|
2023-02-25 19:22:06 +00:00
|
|
|
# Version 0.17.1 (2023-02-25)
|
|
|
|
|
|
|
|
- Disable `symphonia`'s default features.
|
|
|
|
|
|
|
|
# Version 0.17.0 (2023-02-17)
|
2023-02-17 21:42:40 +00:00
|
|
|
|
|
|
|
- Update `cpal` to [0.15](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0150-2022-01-29).
|
|
|
|
- Default to `symphonia` for mp3 decoding.
|
|
|
|
|
2022-09-14 12:43:27 +00:00
|
|
|
# Version 0.16.0 (2022-09-14)
|
|
|
|
|
|
|
|
- Update `cpal` to [0.14](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0140-2022-08-22).
|
|
|
|
- Update `symphonia` to [0.5](https://github.com/pdeljanov/Symphonia/releases/tag/v0.5.1).
|
|
|
|
|
2022-01-25 00:57:53 +00:00
|
|
|
# Version 0.15.0 (2022-01-23)
|
|
|
|
|
|
|
|
- Remove requirement that the argument `Decoder::new` and `LoopedDecoder::new` implement `Send`.
|
|
|
|
- Add optional symphonia backend.
|
|
|
|
- `WavDecoder`'s `total_duration` now returns the total duration of the sound rather than the remaining duration.
|
|
|
|
- Add 32-bit signed in WAV decoding.
|
|
|
|
- `SineWave::new()` now takes a `f32` instead of a `u32`.
|
|
|
|
- Add `len()` method to `SpatialSink`.
|
|
|
|
|
2021-05-21 20:15:25 +00:00
|
|
|
# Version 0.14.0 (2021-05-21)
|
|
|
|
|
|
|
|
- Re-export `cpal` in full.
|
2023-02-17 21:42:40 +00:00
|
|
|
- Replace panics when calling `OutputStream::try_default`, `OutputStream::try_from_device` with new
|
2021-05-21 20:15:25 +00:00
|
|
|
`StreamError` variants.
|
|
|
|
- `OutputStream::try_default` will now fallback to non-default output devices if an `OutputStream`
|
|
|
|
cannot be created from the default device.
|
|
|
|
|
2021-03-29 06:58:23 +00:00
|
|
|
# Version 0.13.1 (2021-03-28)
|
|
|
|
|
|
|
|
- Fix panic when no `pulseaudio-alsa` was installed.
|
|
|
|
|
2020-11-03 14:04:48 +00:00
|
|
|
# Version 0.13.0 (2020-11-03)
|
|
|
|
|
|
|
|
- Update `cpal` to [0.13](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0130-2020-10-28).
|
|
|
|
- Add Android support.
|
|
|
|
|
2020-10-04 23:08:57 +00:00
|
|
|
# Version 0.12.0 (2020-10-05)
|
|
|
|
|
2020-07-10 19:08:12 +00:00
|
|
|
- Breaking: Update `cpal` to [0.12](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0120-2020-07-09).
|
2020-05-02 12:38:56 +00:00
|
|
|
- Breaking: Rework API removing global "rodio audio processing" thread & adapting to the upstream cpal API changes.
|
2020-10-01 14:41:31 +00:00
|
|
|
- Add new_X format specific methods to Decoder.
|
2020-10-04 23:08:57 +00:00
|
|
|
- Fix resampler dependency on internal `Vec::capacity` behaviour.
|
2020-05-02 12:38:56 +00:00
|
|
|
|
2020-03-16 21:38:56 +00:00
|
|
|
# Version 0.11.0 (2020-03-16)
|
|
|
|
|
|
|
|
- Update `lewton` to [0.10](https://github.com/RustAudio/lewton/blob/master/CHANGELOG.md#release-0100---january-30-2020).
|
|
|
|
- Breaking: Update `cpal` to [0.11](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0110-2019-12-11)
|
2020-01-30 12:42:53 +00:00
|
|
|
|
2019-11-16 22:18:59 +00:00
|
|
|
# Version 0.10.0 (2019-11-16)
|
2020-03-16 21:38:56 +00:00
|
|
|
|
2019-11-16 22:18:59 +00:00
|
|
|
- Removal of nalgebra in favour of own code.
|
|
|
|
- Fix a bug that switched channels when resuming after having paused.
|
2019-08-10 09:50:56 +00:00
|
|
|
- Attempt all supported output formats if the default format fails in `Sink::new`.
|
|
|
|
- Breaking: Update `cpal` to [0.10](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md#version-0100-2019-07-05).
|
2019-04-23 02:05:02 +00:00
|
|
|
|
2019-06-08 13:08:16 +00:00
|
|
|
# Version 0.9.0 (2019-06-08)
|
|
|
|
|
2018-11-16 10:18:07 +00:00
|
|
|
- Remove exclusive `&mut` borrow requirements in `Sink` & `SpatialSink` setters.
|
2019-04-23 02:05:02 +00:00
|
|
|
- Use `nalgebra` instead of `cgmath` for `Spatial` source.
|
2018-11-16 10:18:07 +00:00
|
|
|
|
2018-09-18 11:53:34 +00:00
|
|
|
# Version 0.8.1 (2018-09-18)
|
|
|
|
|
2020-03-16 21:38:56 +00:00
|
|
|
- Update `lewton` dependency to [0.9](https://github.com/RustAudio/lewton/blob/master/CHANGELOG.md#release-090---august-16-2018)
|
2018-09-18 11:53:34 +00:00
|
|
|
- Change license from `Apache-2.0` only to `Apache-2.0 OR MIT`
|
|
|
|
|
|
|
|
# Version 0.8.0 (2018-06-22)
|
|
|
|
|
|
|
|
- Add mp3 decoding capabilities via `minimp3`
|
|
|
|
|
2018-04-19 09:38:00 +00:00
|
|
|
# Version 0.7.0 (2018-04-19)
|
|
|
|
|
|
|
|
- Update `cpal` dependency to 0.8, and adopt the new naming convention
|
|
|
|
- BREAKING CHANGES:
|
|
|
|
- renamed `Endpoint` to `Device`
|
2018-04-21 07:39:10 +00:00
|
|
|
- split `default_endpoint()` into `default_output_device()` and `default_input_device()`
|
2018-04-19 09:38:00 +00:00
|
|
|
- renamed `endpoints()` to `devices()`
|
|
|
|
- introduced `output_devices()` and `input_devices()`
|