Fix typos (#738)

This commit is contained in:
Dimitris Apostolou 2023-01-08 23:23:43 +02:00 • committed by GitHub
parent 90471506b1
commit f123811209
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -433,7 +433,7 @@ impl fmt::Debug for Device {
struct StreamInner { struct StreamInner {
playing: bool, playing: bool,
audio_unit: AudioUnit, 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<AudioObjectPropertyListener>, _disconnect_listener: Option<AudioObjectPropertyListener>,
// Track the device with which the audio unit was spawned. // Track the device with which the audio unit was spawned.
// //

View file

@ -20,7 +20,7 @@ pub struct AudioObjectPropertyListener {
} }
impl 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<F: FnMut() -> () + 'static>( pub fn new<F: FnMut() -> () + 'static>(
audio_object_id: AudioObjectID, audio_object_id: AudioObjectID,
property_address: AudioObjectPropertyAddress, property_address: AudioObjectPropertyAddress,