mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-23 04:59:10 +00:00
audio: Handle non-power-of-two spec.samples when unsupported
Fixes #3685
This commit is contained in:
parent
d21a18c65f
commit
90b86b132a
9 changed files with 21 additions and 0 deletions
|
@ -617,6 +617,7 @@ WASAPI_Init(SDL_AudioDriverImpl * impl)
|
|||
impl->Deinitialize = WASAPI_Deinitialize;
|
||||
impl->GetDefaultAudioInfo = WASAPI_GetDefaultAudioInfo;
|
||||
impl->HasCaptureSupport = SDL_TRUE;
|
||||
impl->SupportsNonPow2Samples = SDL_TRUE;
|
||||
|
||||
return SDL_TRUE; /* this audio target is available. */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue