summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/out/ao_sndio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/audio/out/ao_sndio.c b/audio/out/ao_sndio.c
index 20490fe0a3..0fa239a945 100644
--- a/audio/out/ao_sndio.c
+++ b/audio/out/ao_sndio.c
@@ -116,7 +116,6 @@ static int init(struct ao *ao)
static const struct af_to_par af_to_par[] = {
{AF_FORMAT_U8, 8, 0},
{AF_FORMAT_S16, 16, 1},
- {AF_FORMAT_S24, 24, 1},
{AF_FORMAT_S32, 32, 1},
};
const struct af_to_par *ap;
@@ -177,8 +176,6 @@ static int init(struct ao *ao)
ao->format = AF_FORMAT_U8;
} else if (p->par.bits == 16 && p->par.bps == 2 && p->par.sig) {
ao->format = AF_FORMAT_S16;
- } else if ((p->par.bits == 24 || p->par.msb) && p->par.bps == 3 && p->par.sig) {
- ao->format = AF_FORMAT_S24;
} else if ((p->par.bits == 32 || p->par.msb) && p->par.bps == 4 && p->par.sig) {
ao->format = AF_FORMAT_S32;
} else {