summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_portaudio.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-15 21:25:05 +0100
committerwm4 <wm4@nowhere>2013-11-15 21:25:05 +0100
commit514c4547702a01adb6f9e6274c40a77c7c511339 (patch)
treec307d2d60094521cee703cbe9510f0ff9037e96b /audio/out/ao_portaudio.c
parent2289a479b174efa062fab84a66075b49f27c804d (diff)
downloadmpv-514c4547702a01adb6f9e6274c40a77c7c511339.tar.bz2
mpv-514c4547702a01adb6f9e6274c40a77c7c511339.tar.xz
audio: drop "_NE"/"ne" suffix from audio formats
You get the native format by not appending any suffix to the format. This change includes user-facing names, e.g. for the --format option.
Diffstat (limited to 'audio/out/ao_portaudio.c')
-rw-r--r--audio/out/ao_portaudio.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/audio/out/ao_portaudio.c b/audio/out/ao_portaudio.c
index 9c0d7804f8..fad1dc12d8 100644
--- a/audio/out/ao_portaudio.c
+++ b/audio/out/ao_portaudio.c
@@ -56,12 +56,12 @@ struct format_map {
static const struct format_map format_maps[] = {
// first entry is the default format
- {AF_FORMAT_S16_NE, paInt16},
- {AF_FORMAT_S24_NE, paInt24},
- {AF_FORMAT_S32_NE, paInt32},
- {AF_FORMAT_S8, paInt8},
- {AF_FORMAT_U8, paUInt8},
- {AF_FORMAT_FLOAT_NE, paFloat32},
+ {AF_FORMAT_S16, paInt16},
+ {AF_FORMAT_S24, paInt24},
+ {AF_FORMAT_S32, paInt32},
+ {AF_FORMAT_S8, paInt8},
+ {AF_FORMAT_U8, paUInt8},
+ {AF_FORMAT_FLOAT, paFloat32},
{AF_FORMAT_UNKNOWN, 0}
};