|
@@ -308,6 +308,7 @@ DSP_Init(SDL_AudioDriverImpl * impl)
|
|
InitTimeDevicesExist = SDL_FALSE;
|
|
InitTimeDevicesExist = SDL_FALSE;
|
|
SDL_EnumUnixAudioDevices(0, look_for_devices_test);
|
|
SDL_EnumUnixAudioDevices(0, look_for_devices_test);
|
|
if (!InitTimeDevicesExist) {
|
|
if (!InitTimeDevicesExist) {
|
|
|
|
+ SDL_SetError("dsp: No such audio device");
|
|
return SDL_FALSE; /* maybe try a different backend. */
|
|
return SDL_FALSE; /* maybe try a different backend. */
|
|
}
|
|
}
|
|
|
|
|