From f123811209683e376a10f26b0ea0dc07e43d19f3 Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Sun, 8 Jan 2023 23:23:43 +0200 Subject: [PATCH] Fix typos (#738) --- src/host/coreaudio/macos/mod.rs | 2 +- src/host/coreaudio/macos/property_listener.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,