rustfmt
This commit is contained in:
parent
17e079d15d
commit
7d35b7d448
3 changed files with 4 additions and 8 deletions
|
|
@ -108,9 +108,7 @@ pub fn default_input_device() -> Option<Device> {
|
|||
return None;
|
||||
}
|
||||
|
||||
let device = Device {
|
||||
audio_device_id,
|
||||
};
|
||||
let device = Device { audio_device_id };
|
||||
Some(device)
|
||||
}
|
||||
|
||||
|
|
@ -137,9 +135,7 @@ pub fn default_output_device() -> Option<Device> {
|
|||
return None;
|
||||
}
|
||||
|
||||
let device = Device {
|
||||
audio_device_id,
|
||||
};
|
||||
let device = Device { audio_device_id };
|
||||
Some(device)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -458,7 +458,7 @@ impl Data {
|
|||
pub fn len(&self) -> usize {
|
||||
self.len
|
||||
}
|
||||
|
||||
|
||||
/// The raw slice of memory representing the underlying audio data as a slice of bytes.
|
||||
///
|
||||
/// It is up to the user to interpret the slice of memory based on `Data::sample_format`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue