ao_coreaudio: add verbose output of detected channel layouts

This can be useful for debugging purposes.
This commit is contained in:
Stefano Pigozzi 2014-04-23 23:30:35 +02:00
parent 4e3534f82c
commit 2f7cef117a
1 changed files with 5 additions and 0 deletions

View File

@ -440,6 +440,11 @@ void ca_bitmaps_from_layouts(struct ao *ao,
for (int i=0; i < n_layouts; i++) {
uint32_t bitmap = 0;
MP_VERBOSE(ao, "device layout %i: tag: <%d>, bitmap: <%d>, "
"descriptions number <%d>\n", i,
layouts[i].mChannelLayoutTag,
layouts[i].mChannelBitmap,
layouts[i].mNumberChannelDescriptions);
switch (layouts[i].mChannelLayoutTag) {
case kAudioChannelLayoutTag_UseChannelBitmap: