Fix typos (#738)
This commit is contained in:
parent
90471506b1
commit
f123811209
2 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue