diff --git a/src/host/coreaudio/macos/mod.rs b/src/host/coreaudio/macos/mod.rs index 204ed68..e6e3e54 100644 --- a/src/host/coreaudio/macos/mod.rs +++ b/src/host/coreaudio/macos/mod.rs @@ -433,7 +433,7 @@ impl fmt::Debug for Device { struct StreamInner { playing: bool, audio_unit: AudioUnit, - /// Manage the lifetime of the closure that handles device diconnection. + /// Manage the lifetime of the closure that handles device disconnection. _disconnect_listener: Option, // Track the device with which the audio unit was spawned. // diff --git a/src/host/coreaudio/macos/property_listener.rs b/src/host/coreaudio/macos/property_listener.rs index 0731d7c..392d2c8 100644 --- a/src/host/coreaudio/macos/property_listener.rs +++ b/src/host/coreaudio/macos/property_listener.rs @@ -20,7 +20,7 @@ pub struct AudioObjectPropertyListener { } impl AudioObjectPropertyListener { - /// Attach the provieded callback as a audio object property listener. + /// Attach the provided callback as a audio object property listener. pub fn new () + 'static>( audio_object_id: AudioObjectID, property_address: AudioObjectPropertyAddress,