Add more debug output.

This commit is contained in:
David Reid
2018-11-18 15:26:17 +10:00
parent 26e9721077
commit eab33043f2
+7
View File
@@ -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