diff options
Diffstat (limited to 'audio/out/ao_coreaudio.c')
-rw-r--r-- | audio/out/ao_coreaudio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/out/ao_coreaudio.c b/audio/out/ao_coreaudio.c index 6c1cdb9150..df59683add 100644 --- a/audio/out/ao_coreaudio.c +++ b/audio/out/ao_coreaudio.c @@ -412,9 +412,9 @@ static int init(struct ao *ao, char *params) mp_chmap_sel_add_map(&chmap_sel, &chmap); } - if (n_bitmaps < 1) - // Could not get from the hardware any usable bitmap, default to - // waveext... + if (ao->channels.num < 3 || n_bitmaps < 1) + // If the input is not surround or we could not get any usable + // bitmap from the hardware, default to waveext... mp_chmap_sel_add_waveext(&chmap_sel); if (!ao_chmap_sel_adjust(ao, &chmap_sel, &ao->channels)) |