From ff778f6d684a632f9c91fd8488aa5e1ef2fc8ad0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 21 Oct 2015 18:53:50 +0200 Subject: ao_coreaudio: log current format before setting new format --- audio/out/ao_coreaudio_utils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'audio') diff --git a/audio/out/ao_coreaudio_utils.c b/audio/out/ao_coreaudio_utils.c index 6b60b63b05..dff672e7d3 100644 --- a/audio/out/ao_coreaudio_utils.c +++ b/audio/out/ao_coreaudio_utils.c @@ -505,6 +505,8 @@ bool ca_change_physical_format_sync(struct ao *ao, AudioStreamID stream, err = CA_GET(stream, kAudioStreamPropertyPhysicalFormat, &prev_format); CHECK_CA_ERROR("can't get current physical format"); + ca_print_asbd(ao, "format in use before switching:", &prev_format); + /* Install the callback. */ AudioObjectPropertyAddress p_addr = { .mSelector = kAudioStreamPropertyPhysicalFormat, -- cgit v1.2.3