add SDL audio driver debug line
This commit is contained in:
parent
fd3f381bc3
commit
e76dcdd0cf
1 changed files with 7 additions and 0 deletions
|
|
@ -106,6 +106,13 @@ bool TAAudioSDL::init(TAAudioDesc& request, TAAudioDesc& response) {
|
|||
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.outFormat=TA_AUDIO_FORMAT_F32;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue