From 80e07775e274f9a36ce533c09527b0ab9553f98f Mon Sep 17 00:00:00 2001 From: David Reid Date: Sat, 17 Nov 2018 15:42:06 +1000 Subject: [PATCH] Fix a typo with debug output. --- mini_al.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mini_al.h b/mini_al.h index c085c5d9..2e95580b 100644 --- a/mini_al.h +++ b/mini_al.h @@ -20881,7 +20881,7 @@ mal_result mal_device_init(mal_context* pContext, mal_device_type type, mal_devi #ifdef MAL_DEBUG_OUTPUT - printf("[WASAPI] %s (%s)\n", pDevice->name, (pDevice->type == mal_device_type_playback) ? "Playback" : "Capture"); + printf("[%s] %s (%s)\n", mal_get_backend_name(pDevice->pContext->backend), pDevice->name, (pDevice->type == mal_device_type_playback) ? "Playback" : "Capture"); 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);