aboutsummaryrefslogtreecommitdiffhomepage
path: root/audio
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2017-07-07 17:43:38 +0200
committerGravatar wm4 <wm4@nowhere>2017-07-07 17:56:18 +0200
commit2e1eb8b37cc28b54fa3c25b9048c3fa7644ba27c (patch)
tree1e7ced51be105e2fd3d56a00d18bf8fe90331c74 /audio
parentadbb42929693074f67986a1f7cf12ab0a654f030 (diff)
ao_oss: drop AF_FORMAT_S24 usage
Can't test / don't care.
Diffstat (limited to 'audio')
-rw-r--r--audio/out/ao_oss.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/audio/out/ao_oss.c b/audio/out/ao_oss.c
index 1edf55a095..06f7b3cad5 100644
--- a/audio/out/ao_oss.c
+++ b/audio/out/ao_oss.c
@@ -90,10 +90,6 @@ static const struct mp_chmap oss_layouts[MP_NUM_CHANNELS + 1] = {
#define AFMT_S16_NE MP_SELECT_LE_BE(AFMT_S16_LE, AFMT_S16_BE)
#endif
-#if !defined(AFMT_S24_NE) && defined(AFMT_S24_LE) && defined(AFMT_S24_BE)
-#define AFMT_S24_NE MP_SELECT_LE_BE(AFMT_S24_LE, AFMT_S24_BE)
-#endif
-
#if !defined(AFMT_S32_NE) && defined(AFMT_S32_LE) && defined(AFMT_S32_BE)
#define AFMT_S32_NE AFMT_S32MP_SELECT_LE_BE(AFMT_S32_LE, AFMT_S32_BE)
#endif
@@ -101,9 +97,6 @@ static const struct mp_chmap oss_layouts[MP_NUM_CHANNELS + 1] = {
static const int format_table[][2] = {
{AFMT_U8, AF_FORMAT_U8},
{AFMT_S16_NE, AF_FORMAT_S16},
-#ifdef AFMT_S24_NE
- {AFMT_S24_NE, AF_FORMAT_S24},
-#endif
#ifdef AFMT_S32_NE
{AFMT_S32_NE, AF_FORMAT_S32},
#endif