diff options
author | colin <colin@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-03 15:12:18 +0000 |
---|---|---|
committer | colin <colin@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-03 15:12:18 +0000 |
commit | c619dbbb5b2c95b9dd3e311fe5288430b3f7d18e (patch) | |
tree | 4af02d48783d7726fb7d5d2eda193584ec4256e3 /libao2/pl_volume.c | |
parent | 9b483e615ea6f955265436fe9c478da1013139fd (diff) | |
download | mpv-c619dbbb5b2c95b9dd3e311fe5288430b3f7d18e.tar.bz2 mpv-c619dbbb5b2c95b9dd3e311fe5288430b3f7d18e.tar.xz |
(nicer) endianness fix for every plugin except pl_format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8742 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/pl_volume.c')
-rw-r--r-- | libao2/pl_volume.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libao2/pl_volume.c b/libao2/pl_volume.c index a6590cce16..e0fb5e0e1b 100644 --- a/libao2/pl_volume.c +++ b/libao2/pl_volume.c @@ -81,7 +81,7 @@ static int init(){ // Sanity sheck this plugin supports AFMT_U8 and AFMT_S16_LE switch(ao_plugin_data.format){ case(AFMT_U8): - case(AFMT_S16_LE): + case(AFMT_S16_NE): break; default: fprintf(stderr,"[pl_volume] Audio format not yet suported \n"); @@ -135,7 +135,7 @@ static int play(){ } break; } - case(AFMT_S16_LE):{ + case(AFMT_S16_NE):{ register int len=ao_plugin_data.len>>1; register int16_t* data=(int16_t*)ao_plugin_data.data; register int x; |