arc not necessary

This commit is contained in:
thiolliere 2016-10-02 14:24:30 +02:00
parent 5c86eec4f3
commit 25bb025a9a
1 changed files with 2 additions and 2 deletions

View File

@ -398,7 +398,7 @@ struct VoiceInner {
scheduled: Mutex<Option<Scheduled>>,
// Wherease the sample stream is paused
is_paused: Arc<AtomicBool>,
is_paused: AtomicBool,
// A file descriptor opened with `eventfd`.
// It is used to wait for resume signal.
@ -610,7 +610,7 @@ impl Voice {
buffer_len: buffer_len,
period_len: period_len,
scheduled: Mutex::new(None),
is_paused: Arc::new(AtomicBool::new(true)),
is_paused: AtomicBool::new(true),
resume_signal: libc::eventfd(0, 0),
});