rodio icon indicating copy to clipboard operation
rodio copied to clipboard

Rust audio playback library

Results 233 rodio issues
Sort by recently updated
recently updated
newest added

The commits add a member to the Decoders, which contains the required information for the elapsed duration. The functionality is implemented in the `impl Iterator for Decoder/LoopedDecoder` and ticks an...

Is there any way to get current sink track playback time? I have searched in the docs but haven't found anything yet.

enhancement
question

How to obtain the current playing time and position when rodio plays music files At present, I want to try to build a simple music playing software, Music playing software...

The documentation is not obvious regarding how to resample an input.

waiting for clearification

I am creating a new issue since I wasn't able to reopen #488 . I have this problem even after #494 . ``` #[cfg(test)] mod tests { use rodio::{source::SineWave, OutputStream,...

This PR abstracts the functionality the a `SourcesQueueOutput` needs from its upstream input queue, and then adds a new type of queue that can have ids associated with the items....

MP3 source. current_ frame_ The value returned by len() is always Some (2304) source. total_ The value returned by duration is always None Several different music files have been tested....

enhancement

In this example the 2nd assert fails even though the `take_duration` has ended. ```rust use std::{ sync::{ atomic::{AtomicBool, AtomicUsize}, Arc, }, thread, time::Duration, }; use rodio::{dynamic_mixer::mixer, source, OutputStream, Sink, Source};...

Behavior: When an audio sink ends, the thread it is running off panics and terminates Code Used: ```rust pub fn play(name: &String) { let (_stream, stream_handle) = OutputStream::try_default().unwrap(); let sink...

This makes `pause` a `Mutex` + `Condvar` combo instead of an `AtomicBool` so that the thread can sleep when paused instead of churning every 5 milliseconds (...!) https://github.com/RustAudio/rodio/blob/9674ea56cfbdef90703833b3c6af7790d32be76e/src/sink.rs#L92 This reduces...