From 514c4547702a01adb6f9e6274c40a77c7c511339 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 15 Nov 2013 21:25:05 +0100 Subject: 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. --- audio/out/ao_dsound.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'audio/out/ao_dsound.c') diff --git a/audio/out/ao_dsound.c b/audio/out/ao_dsound.c index f828a210dc..ec5e83bd50 100644 --- a/audio/out/ao_dsound.c +++ b/audio/out/ao_dsound.c @@ -392,7 +392,7 @@ static int init(struct ao *ao) int rate = ao->samplerate; if (AF_FORMAT_IS_AC3(format)) - format = AF_FORMAT_AC3_NE; + format = AF_FORMAT_AC3; else { struct mp_chmap_sel sel = {0}; mp_chmap_sel_add_waveext(&sel); @@ -400,7 +400,7 @@ static int init(struct ao *ao) return -1; } switch (format) { - case AF_FORMAT_AC3_NE: + case AF_FORMAT_AC3: case AF_FORMAT_S24_LE: case AF_FORMAT_S16_LE: case AF_FORMAT_U8: -- cgit v1.2.3