From b91b4944bd7ddf6fef4c4254d457117017292c0a Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 7 May 2015 23:07:14 +0200 Subject: audio: define only a single NA speaker ID Remove the requirement from mp_chmap that speaker entries must be unique. Use this to get rid of all the redundant NA speaker IDs. --- audio/out/ao_sndio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/out/ao_sndio.c') diff --git a/audio/out/ao_sndio.c b/audio/out/ao_sndio.c index bbe616aebf..abce0efd36 100644 --- a/audio/out/ao_sndio.c +++ b/audio/out/ao_sndio.c @@ -99,7 +99,7 @@ static const struct mp_chmap sndio_layouts[MP_NUM_CHANNELS + 1] = { MP_CHMAP8(FL, FR, BL, BR, FC, LFE, SL, SR), // 7.1 /* above is the fixed channel assignment for sndio, since we need to fill all channels and cannot insert silence, not all layouts are supported. - NOTE: MP_SPEAKER_ID_NA0-7 could be used to add padding channels. Keep + NOTE: MP_SPEAKER_ID_NA could be used to add padding channels. Keep in mind that they don't actually contain silence. */ }; -- cgit v1.2.3