You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Given the audio client and format, returns whether or not the format is supported.
194
194
pubunsafefnis_format_supported(
195
-
client:&Audio::IAudioClient,
196
-
waveformatex_ptr:*constAudio::WAVEFORMATEX,
195
+
_client:&Audio::IAudioClient,
196
+
_waveformatex_ptr:*constAudio::WAVEFORMATEX,
197
197
) -> Result<bool,SupportedStreamConfigsError>{
198
-
// Check if the given format is supported.
198
+
// Checking formats is not needed for shared mode with auto-conversion, therefore this check has been removed until someone implements WASAPI exclusive mode support
199
+
// I used an NAudio issue as reference: https://github.com/naudio/NAudio/issues/819
200
+
/* // Check if the given format is supported.
199
201
let mut closest_waveformatex_ptr: *mut Audio::WAVEFORMATEX = ptr::null_mut();
0 commit comments