mirror of https://github.com/mpv-player/mpv
fixed long-standing issue with stereo IMA4 decoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5050 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9bd7609ccd
commit
915dfd1312
|
@ -418,7 +418,7 @@ case AFM_GSM:
|
||||||
case AFM_IMAADPCM:
|
case AFM_IMAADPCM:
|
||||||
sh_audio->audio_out_minsize=4096;
|
sh_audio->audio_out_minsize=4096;
|
||||||
sh_audio->ds->ss_div=IMA_ADPCM_SAMPLES_PER_BLOCK;
|
sh_audio->ds->ss_div=IMA_ADPCM_SAMPLES_PER_BLOCK;
|
||||||
sh_audio->ds->ss_mul=IMA_ADPCM_BLOCK_SIZE;
|
sh_audio->ds->ss_mul=IMA_ADPCM_BLOCK_SIZE * sh_audio->wf->nChannels;
|
||||||
break;
|
break;
|
||||||
case AFM_MSADPCM:
|
case AFM_MSADPCM:
|
||||||
sh_audio->audio_out_minsize=sh_audio->wf->nBlockAlign * 8;
|
sh_audio->audio_out_minsize=sh_audio->wf->nBlockAlign * 8;
|
||||||
|
|
Loading…
Reference in New Issue