Jacqueline Briel
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
NAudio.Wasapi/CoreAudioApi/AudioClient.cs
|
|
@ -252,7 +252,7 @@ namespace NAudio.CoreAudioApi |
|
|
|
{ |
|
|
|
return false; |
|
|
|
} |
|
|
|
if (hresult == (int)AudioClientErrors.UnsupportedFormat) |
|
|
|
if (hresult == AudioClientErrorCode.UnsupportedFormat) |
|
|
|
{ |
|
|
|
// documentation is confusing as to what this flag means
|
|
|
|
// https://docs.microsoft.com/en-us/windows/desktop/api/audioclient/nf-audioclient-iaudioclient-isformatsupported
|
|
|
|