Add some logging and update mini_al.
This commit is contained in:
parent
60d7215b2a
commit
b9bb80d004
2 changed files with 48 additions and 1 deletions
|
|
@ -425,6 +425,11 @@ void InitAudioDevice(void)
|
|||
return;
|
||||
}
|
||||
|
||||
TraceLog(LOG_INFO, "Audio device initialized successfully");
|
||||
TraceLog(LOG_INFO, "Audio backend: %s", mal_get_backend_name(context.backend));
|
||||
TraceLog(LOG_INFO, "Audio format: %s", mal_get_format_name(device.format));
|
||||
TraceLog(LOG_INFO, "Audio channels: %d", device.channels);
|
||||
TraceLog(LOG_INFO, "Audio sample rate: %d", device.sampleRate);
|
||||
|
||||
isAudioInitialized = MAL_TRUE;
|
||||
#else
|
||||
|
|
|
|||
Loading…
Reference in a new issue