mirror of
https://github.com/encounter/SDL.git
synced 2025-12-14 23:56:19 +00:00
audio: Handle non-power-of-two spec.samples when unsupported
Fixes #3685
This commit is contained in:
@@ -945,6 +945,7 @@ PULSEAUDIO_Init(SDL_AudioDriverImpl * impl)
|
||||
impl->GetDefaultAudioInfo = PULSEAUDIO_GetDefaultAudioInfo;
|
||||
|
||||
impl->HasCaptureSupport = SDL_TRUE;
|
||||
impl->SupportsNonPow2Samples = SDL_TRUE;
|
||||
|
||||
return SDL_TRUE; /* this audio target is available. */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user