OpenSLES for DetectDevices: turn AllowsArbitraryDeviceNames on, and OnlyHasDefault*Device Off

This commit is contained in:
Sylvain 2022-12-18 12:34:35 +01:00
parent a9cce243a0
commit e7a34fc023
No known key found for this signature in database
GPG key ID: 5F87E02E5BC0939E

View file

@ -734,8 +734,9 @@ static SDL_bool openslES_Init(SDL_AudioDriverImpl *impl)
/* and the capabilities */
impl->HasCaptureSupport = SDL_TRUE;
impl->OnlyHasDefaultOutputDevice = SDL_TRUE;
impl->OnlyHasDefaultCaptureDevice = SDL_TRUE;
impl->OnlyHasDefaultOutputDevice = SDL_FALSE;
impl->OnlyHasDefaultCaptureDevice = SDL_FALSE;
impl->AllowsArbitraryDeviceNames = SDL_TRUE;
LOGI("openslES_Init() - success");