mirror of https://github.com/mpv-player/mpv
ao_coreaudio: add verbose output of detected channel layouts
This can be useful for debugging purposes.
This commit is contained in:
parent
4e3534f82c
commit
2f7cef117a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue