summaryrefslogtreecommitdiffstats
path: root/audio/chmap_sel.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/chmap_sel.c')
-rw-r--r--audio/chmap_sel.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/audio/chmap_sel.c b/audio/chmap_sel.c
index 51a3eecf8b..8ddb7131e7 100644
--- a/audio/chmap_sel.c
+++ b/audio/chmap_sel.c
@@ -95,17 +95,6 @@ void mp_chmap_sel_add_waveext(struct mp_chmap_sel *s)
s->allow_waveext = true;
}
-// Classic ALSA-based MPlayer layouts.
-void mp_chmap_sel_add_alsa_def(struct mp_chmap_sel *s)
-{
- for (int n = 1; n <= MP_NUM_CHANNELS; n++) {
- struct mp_chmap t;
- mp_chmap_from_channels_alsa(&t, n);
- if (t.num)
- mp_chmap_sel_add_map(s, &t);
- }
-}
-
// Add a channel map that should be allowed.
void mp_chmap_sel_add_map(struct mp_chmap_sel *s, const struct mp_chmap *map)
{