rodio
rodio copied to clipboard
Rust audio playback library
Say I unplug my headphones and plug them in again. What happens to me right now is that even after the replug, I have no audio output (from `play_raw()`). I...
Using pulseaudio-alsa-jack bridged, as well as pulseaudio + alsa only. None of the examples of rodio produce sound, but they do create the audio sink inside of pulseaudio (pavucontrol). There...
Code: `OutputStream::try_from_device(&vec_of_acc[0]).unwrap()`, wherein `&vec_of_acc[0]` is of type `Device`. It works when no other audio is playing, but when I have cmus or YouTube active, everytime I try to run it...
The decoder seems not working with audio files generated by youtubedl and ffmpeg. Here's a minimal repro 1. Run ```Bash youtube-dl ytsearch1:okay --extract-audio --audio-format mp3 --output music.mp3 ``` 2. Build...
So it is not playing anything and I just took the code off your docs so idk (and it's not giving me an invalid file or anything not even logging...
```rust fn main() { let (_stream, handle) = rodio::OutputStream::try_default().unwrap(); let sink = rodio::SpatialSink::try_new(&handle, [-2.0, 0.0, 0.0], [1.0, 0.0, 0.0], [-1.0, 0.0, 0.0]) .unwrap(); let file = std::fs::File::open("beep.wav").unwrap(); let source =...
Not sure if this should be more obvious than it was for me, but I burned some time debugging a situation where ignoring the first return value of `try_default` below...
It would be pretty nice if this library supported Android as well. Form what I understand, the main block for that is cpal so I also understand it may be...
When i change the output device rodio continues to play the audio on old device.