summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_opensles.c
diff options
context:
space:
mode:
authorJosh de Kock <josh@itanimul.li>2016-05-22 03:34:59 +0100
committerwm4 <wm4@nowhere>2016-05-22 14:31:37 +0200
commit4aa017e3013ea2755fc48886faaf3601bde13ddd (patch)
tree2f3f64a68bbaa35ccd288263cd61a84c20d7a5c4 /audio/out/ao_opensles.c
parentc4e8c360719f6e716d1f437c08082022a3b6662f (diff)
downloadmpv-4aa017e3013ea2755fc48886faaf3601bde13ddd.tar.bz2
mpv-4aa017e3013ea2755fc48886faaf3601bde13ddd.tar.xz
ao_opensles: remove 32bit audio
It's unsupported by android, and can cause problems when trying to play 32bit audio. Removing 32bit fixes it by forcing 16 bit or 8 bit audio.
Diffstat (limited to 'audio/out/ao_opensles.c')
-rw-r--r--audio/out/ao_opensles.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/audio/out/ao_opensles.c b/audio/out/ao_opensles.c
index 0e80829557..2ce7b01552 100644
--- a/audio/out/ao_opensles.c
+++ b/audio/out/ao_opensles.c
@@ -46,7 +46,6 @@ struct priv {
static const int fmtmap[][2] = {
{ AF_FORMAT_U8, SL_PCMSAMPLEFORMAT_FIXED_8 },
{ AF_FORMAT_S16, SL_PCMSAMPLEFORMAT_FIXED_16 },
- { AF_FORMAT_S32, SL_PCMSAMPLEFORMAT_FIXED_32 },
{ 0 }
};