Skip to content

Commit

Permalink
Add missing streaming lock
Browse files Browse the repository at this point in the history
  • Loading branch information
Beinsezii committed Feb 9, 2024
1 parent bde20ef commit cbf3d25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/library/player/sympal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ impl Player for Backend {
if last.load(Ordering::Relaxed) && samples.read().unwrap().len() == pos.load(Ordering::Relaxed) {
pos.store(0, Ordering::Relaxed)
}
streaming.store(true, Ordering::Relaxed);
let stream = device
.build_output_stream_raw(
&config.config(),
Expand Down

0 comments on commit cbf3d25

Please sign in to comment.