rodio
rodio copied to clipboard
Rust audio playback library
[sink.set_speed](https://docs.rs/rodio/0.17.3/rodio/struct.Sink.html#method.set_speed) perceptibly makes the audio higher pitch when the speed is above `1.0` and perceptually lower pitch when lower when the speed is below `1.0`. Most modern video players and...
This commit adds a new trait, `Mixer`, and refactors some of the code around generic mixers in order to support it. This is to make more of the code reusable...
Adresses #176, see https://github.com/RustAudio/rodio/issues/176#issuecomment-1741860432 for the motivations behind the design. Adds a fail-able method `fn try_seek(&mut self, pos: Duration) -> Result` to all sources and decoders. The error struct `SeekNotSupported`...
```rs // this works let (_stream, handle) = OutputStream::try_default()?; // this doesn't let (_, handle) = OutputStream::try_default()?; ``` In second case `Sink::try_new(&handle)` returns `NoDevice` error. Perhaps this should be mentioned...
When my audio output device that I think is using is unplugged, my terminal prints the output.: ``` an error occurred on output stream: The requested device is no longer...
I want sound to play on whatever the operating system's default audio output device is, and switch to the new default audio device if the system changes which one is...
it is nowhere explained, how to use mp4 files with rodio, just, that it is diabeled by default. I assumed, it would work by enabeling the "symphonia-isomp4" feature however it...
### Background #### Terminology An audio file is a _container_ (mp4/mkv etc). A _container_ contains one or more streams and possibly metadata. Those streams are encoded with a _codec_. For...
Probably belongs upstream in symphonia, ran into it testing #513. seems like `assets/music.ogg` breaks the decoder. Needed it documented somewhere so here it is. Reproducible on master branch with: ```...
Is there a way in the lib to get the frequency and volume that is currently being outputted?