mirror of
https://github.com/mpv-player/mpv
synced 2025-01-06 15:10:20 +00:00
ao_coreaudio: reduce verbosity of the chmapping code
This commit is contained in:
parent
df39121206
commit
af6ad6717f
@ -388,7 +388,7 @@ bool ca_bitmap_from_ch_desc(AudioChannelLayout *layout, uint32_t *bitmap)
|
|||||||
if (label == kAudioChannelLabel_UseCoordinates ||
|
if (label == kAudioChannelLabel_UseCoordinates ||
|
||||||
label == kAudioChannelLabel_Unknown ||
|
label == kAudioChannelLabel_Unknown ||
|
||||||
label > kAudioChannelLabel_TopBackRight) {
|
label > kAudioChannelLabel_TopBackRight) {
|
||||||
ca_msg(MSGL_WARN,
|
ca_msg(MSGL_V,
|
||||||
"channel label=%d unusable to build channel "
|
"channel label=%d unusable to build channel "
|
||||||
"bitmap, skipping layout\n", label);
|
"bitmap, skipping layout\n", label);
|
||||||
all_channels_valid = false;
|
all_channels_valid = false;
|
||||||
@ -413,7 +413,7 @@ bool ca_bitmap_from_ch_tag(AudioChannelLayout *layout, uint32_t *bitmap)
|
|||||||
sizeof(AudioChannelLayoutTag), &tag,
|
sizeof(AudioChannelLayoutTag), &tag,
|
||||||
&bitmap_size, bitmap);
|
&bitmap_size, bitmap);
|
||||||
if (err != noErr) {
|
if (err != noErr) {
|
||||||
ca_msg(MSGL_WARN,
|
ca_msg(MSGL_V,
|
||||||
"channel layout tag=%d unusable to build channel "
|
"channel layout tag=%d unusable to build channel "
|
||||||
"bitmap, skipping layout\n", tag);
|
"bitmap, skipping layout\n", tag);
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user