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/decode/ad_mpg123.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'audio/decode') diff --git a/audio/decode/ad_mpg123.c b/audio/decode/ad_mpg123.c index 322f45826f..777c20c2c9 100644 --- a/audio/decode/ad_mpg123.c +++ b/audio/decode/ad_mpg123.c @@ -149,13 +149,13 @@ static int set_format(sh_audio_t *sh) sh->sample_format = AF_FORMAT_S8; break; case MPG123_ENC_SIGNED_16: - sh->sample_format = AF_FORMAT_S16_NE; + sh->sample_format = AF_FORMAT_S16; break; case MPG123_ENC_SIGNED_32: - sh->sample_format = AF_FORMAT_S32_NE; + sh->sample_format = AF_FORMAT_S32; break; case MPG123_ENC_FLOAT_32: - sh->sample_format = AF_FORMAT_FLOAT_NE; + sh->sample_format = AF_FORMAT_FLOAT; break; default: /* This means we got a funny custom build of libmpg123 that only supports an unknown format. */ -- cgit v1.2.3