mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Add more debug output.
This commit is contained in:
@@ -20899,6 +20899,13 @@ mal_result mal_device_init(mal_context* pContext, mal_device_type type, mal_devi
|
||||
printf(" Format: %s -> %s\n", mal_get_format_name(pDevice->format), mal_get_format_name(pDevice->internalFormat));
|
||||
printf(" Channels: %d -> %d\n", pDevice->channels, pDevice->internalChannels);
|
||||
printf(" Sample Rate: %d -> %d\n", pDevice->sampleRate, pDevice->internalSampleRate);
|
||||
printf(" Conversion:\n");
|
||||
printf(" Pre Format Conversion: %s\n", pDevice->dsp.isPreFormatConversionRequired ? "YES" : "NO");
|
||||
printf(" Post Format Conversion: %s\n", pDevice->dsp.isPostFormatConversionRequired ? "YES" : "NO");
|
||||
printf(" Channel Routing: %s\n", pDevice->dsp.isChannelRoutingRequired ? "YES" : "NO");
|
||||
printf(" SRC: %s\n", pDevice->dsp.isSRCRequired ? "YES" : "NO");
|
||||
printf(" Channel Routing at Start: %s\n", pDevice->dsp.isChannelRoutingAtStart ? "YES" : "NO");
|
||||
printf(" Passthrough: %s\n", pDevice->dsp.isPassthrough ? "YES" : "NO");
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user