Skip to content

Commit

Permalink
Rc -> Arc RustAudio#840
Browse files Browse the repository at this point in the history
  • Loading branch information
ameknite committed Mar 1, 2024
1 parent 9919fac commit c3fd5a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/host/coreaudio/macos/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -883,13 +883,13 @@ fn set_sample_rate(

#[derive(Clone)]
pub struct Stream {
inner: Rc<Mutex<StreamInner>>,
inner: Arc<Mutex<StreamInner>>,
}

impl Stream {
fn new(inner: StreamInner) -> Self {
Self {
inner: Rc::new(Mutex::new(inner)),
inner: Arc::new(Mutex::new(inner)),
}
}
}
Expand Down

0 comments on commit c3fd5a5

Please sign in to comment.