fix sound encoding on BE arch

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8076 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
colin 2002-11-03 09:54:49 +00:00
parent a135cafbb4
commit f51f53d042
1 changed files with 4 additions and 0 deletions

View File

@ -739,7 +739,11 @@ case ACODEC_VBRMP3:
sh_audio->samplerate, sh_audio->samplerate,
sh_audio->channels, sh_audio->sample_format, sh_audio->samplesize, sh_audio->channels, sh_audio->sample_format, sh_audio->samplesize,
mux_a->wf->nSamplesPerSec, mux_a->wf->nChannels, mux_a->wf->nSamplesPerSec, mux_a->wf->nChannels,
#ifdef WORDS_BIGENDIAN
AFMT_S16_BE, 2,
#else
AFMT_S16_LE, 2, AFMT_S16_LE, 2,
#endif
4608, mux_a->h.dwRate*mux_a->wf->nChannels*2)){ 4608, mux_a->h.dwRate*mux_a->wf->nChannels*2)){
mp_msg(MSGT_CPLAYER,MSGL_ERR,"Couldn't find matching filter / ao format!\n"); mp_msg(MSGT_CPLAYER,MSGL_ERR,"Couldn't find matching filter / ao format!\n");
} }