summaryrefslogtreecommitdiffstats
path: root/audio/decode/ad_mpg123.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/decode/ad_mpg123.c')
-rw-r--r--audio/decode/ad_mpg123.c6
1 files changed, 3 insertions, 3 deletions
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. */