rust format
This commit is contained in:
parent
1f4d7b04c9
commit
0d37421b45
1 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,8 @@ use super::winapi::um::audioclient::{
|
|||
self, IAudioClient, IID_IAudioClient, AUDCLNT_E_DEVICE_INVALIDATED,
|
||||
};
|
||||
use super::winapi::um::audiosessiontypes::{
|
||||
AUDCLNT_SHAREMODE_SHARED, AUDCLNT_STREAMFLAGS_EVENTCALLBACK, AUDCLNT_STREAMFLAGS_LOOPBACK};
|
||||
AUDCLNT_SHAREMODE_SHARED, AUDCLNT_STREAMFLAGS_EVENTCALLBACK, AUDCLNT_STREAMFLAGS_LOOPBACK
|
||||
};
|
||||
use super::winapi::um::combaseapi::{
|
||||
CoCreateInstance, CoTaskMemFree, PropVariantClear, CLSCTX_ALL,
|
||||
};
|
||||
|
|
@ -662,7 +663,6 @@ impl Device {
|
|||
stream_flags |= AUDCLNT_STREAMFLAGS_LOOPBACK;
|
||||
}
|
||||
|
||||
// Computing the format and initializing the device.
|
||||
// Computing the format and initializing the device.
|
||||
let waveformatex = {
|
||||
let format_attempt = config_to_waveformatextensible(config, sample_format)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue