fix(player): resume path compile fixes
This commit is contained in:
1 parent
1e6a8b1aee
commit
333ae44d5a
2 files changed
+4
-4
No files matched your search
Vendored
+1
-1
@@ -128,7 +128,7 @@ impl Sink {
|
||||
.skippable()
|
||||
.stoppable()
|
||||
// if you change the duration update the docs for try_seek!
|
||||
.periodic_access(Duration::from_millis(20), move |src| {
|
||||
.periodic_access(Duration::from_millis(50), move |src| {
|
||||
if controls.stopped.load(Ordering::SeqCst) {
|
||||
src.stop();
|
||||
*controls.position.lock().unwrap() = Duration::ZERO;
|
||||
|
||||
Reference in new issue
Block a user