From eab33043f23d602f1a7dfb99891f3a159c7177c0 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sun, 18 Nov 2018 15:26:17 +1000 Subject: [PATCH] Add more debug output. --- mini_al.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mini_al.h b/mini_al.h index 0372f3bb..c0323b63 100644 --- a/mini_al.h +++ b/mini_al.h @@ -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