add SDL audio driver debug line

This commit is contained in:
tildearrow 2022-12-04 16:12:30 -05:00
parent fd3f381bc3
commit e76dcdd0cf

View file

@ -106,6 +106,13 @@ bool TAAudioSDL::init(TAAudioDesc& request, TAAudioDesc& response) {
audioSysStarted=true; audioSysStarted=true;
} }
const char* audioDriver=SDL_GetCurrentAudioDriver();
if (audioDriver==NULL) {
logD("SDL audio driver: NULL!");
} else {
logD("SDL audio driver: %s",audioDriver);
}
desc=request; desc=request;
desc.outFormat=TA_AUDIO_FORMAT_F32; desc.outFormat=TA_AUDIO_FORMAT_F32;