rodio
rodio copied to clipboard
Rust audio playback library
The following program uses 100% of a CPU, according to `htop`, in release mode, whether any key on the keyboard is pressed or not. ```rust use winit::{ event::{Event, WindowEvent}, event_loop::{EventLoop,...
i have this code  i saw that i cannot append more than once the same sink because source it doesnt have copy trait. but how do i pass a...
this lets you execute code when the sink is empty, when you've reached a certain position in the sink, etc. it's useful if you can't/don't want to poll constantly to...
Fixes #207 This fixes a audio distortion bug caused by float rounding errors and by the sinewave frequency not matching the frequency of the driver.
I'm trying to achieve gapless playback with rodio and symphonia backend. I set symphonia without problem. However, when it comes to rodio, how to achieve this result? I always play...
I tried to read the following mp3 file: [silence.zip](https://github.com/RustAudio/rodio/files/7969043/silence.zip). With `rodio` 0.14 it works as expected but `rodio` 0.15 panics when calling `Decoder::new_mp3`. I used the following code to read...
//audio // Get a output stream handle to the default physical sound device let (_stream, stream_handle) = OutputStream::try_default().unwrap(); // Decode that sound file into a source let my_slice = std::io::Cursor::new(include_bytes!("../title.mp3").as_ref());...
This PR still has some room for work, but this gives basic functionality for `clear()`ing and `skip_one()`ing `Sink`s. This seems like very useful functionality, and helps make the library more...