line not necessary
This commit is contained in:
parent
1b0c9f2c54
commit
5c86eec4f3
|
@ -601,9 +601,6 @@ impl Voice {
|
||||||
num_descriptors as usize
|
num_descriptors as usize
|
||||||
};
|
};
|
||||||
|
|
||||||
// The voice is initialized as paused
|
|
||||||
let is_paused = Arc::new(AtomicBool::new(true));
|
|
||||||
|
|
||||||
let samples_stream_inner = Arc::new(VoiceInner {
|
let samples_stream_inner = Arc::new(VoiceInner {
|
||||||
event_loop: event_loop.inner.clone(),
|
event_loop: event_loop.inner.clone(),
|
||||||
channel: Mutex::new(playback_handle),
|
channel: Mutex::new(playback_handle),
|
||||||
|
@ -613,7 +610,7 @@ impl Voice {
|
||||||
buffer_len: buffer_len,
|
buffer_len: buffer_len,
|
||||||
period_len: period_len,
|
period_len: period_len,
|
||||||
scheduled: Mutex::new(None),
|
scheduled: Mutex::new(None),
|
||||||
is_paused: is_paused.clone(),
|
is_paused: Arc::new(AtomicBool::new(true)),
|
||||||
resume_signal: libc::eventfd(0, 0),
|
resume_signal: libc::eventfd(0, 0),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue