mirror of
https://github.com/RustAudio/rodio
synced 2024-11-10 06:04:16 +00:00
Merge branch 'master' into fix_hang_seek_on_empty_queue
This commit is contained in:
commit
66cbef992b
1 changed files with 4 additions and 0 deletions
|
@ -15,4 +15,8 @@ fn main() {
|
|||
sink.try_seek(Duration::from_secs(4)).unwrap();
|
||||
|
||||
sink.sleep_until_end();
|
||||
|
||||
// wont do anything since the sound has ended already
|
||||
sink.try_seek(Duration::from_secs(5)).unwrap();
|
||||
println!("seek example ended");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue