mirror of
https://github.com/RustAudio/rodio
synced 2024-12-13 13:42:34 +00:00
parent
49cc465604
commit
9ba6836e37
3 changed files with 12 additions and 3 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
# 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`.
|
||||||
|
|
||||||
# Version 0.14.0 (2021-05-21)
|
# Version 0.14.0 (2021-05-21)
|
||||||
|
|
||||||
- Re-export `cpal` in full.
|
- Re-export `cpal` in full.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "rodio"
|
name = "rodio"
|
||||||
version = "0.14.0"
|
version = "0.15.0"
|
||||||
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
authors = ["Pierre Krieger <pierre.krieger1708@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
description = "Audio playback library"
|
description = "Audio playback library"
|
||||||
|
@ -15,7 +15,7 @@ claxon = { version = "0.4.2", optional = true }
|
||||||
hound = { version = "3.3.1", optional = true }
|
hound = { version = "3.3.1", optional = true }
|
||||||
lewton = { version = "0.10", optional = true }
|
lewton = { version = "0.10", optional = true }
|
||||||
minimp3 = { version = "0.5.0", optional = true }
|
minimp3 = { version = "0.5.0", optional = true }
|
||||||
symphonia = {version = "0.3", optional = true }
|
symphonia = {version = "0.4", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["flac", "vorbis", "wav", "mp3"]
|
default = ["flac", "vorbis", "wav", "mp3"]
|
||||||
|
|
|
@ -19,7 +19,7 @@ impl<T: Read + Seek + Send> MediaSource for ReadSeekSource<T> {
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
||||||
fn len(&self) -> Option<u64> {
|
fn byte_len(&self) -> Option<u64> {
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue