diff options
author | joey <joey@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-11-23 17:04:19 +0000 |
---|---|---|
committer | joey <joey@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-11-23 17:04:19 +0000 |
commit | 7afe24f691c90eff63fe08c299c3af21bf6be162 (patch) | |
tree | cfd5f942bb0effd095492f1892041d459b5bf3f7 /spudec.c | |
parent | 86889fd4ebe1c78550a54da7ee92cbd307ab4671 (diff) | |
download | mpv-7afe24f691c90eff63fe08c299c3af21bf6be162.tar.bz2 mpv-7afe24f691c90eff63fe08c299c3af21bf6be162.tar.xz |
original config:
> ao_data.bps=channels*rate;
> if(format != AFMT_U8 && format != AFMT_S8)
> ao_data.bps*=2;
fallback config, before patch:
> ao_data.bps=ao_data.channels * ao_data.samplerate;
since we forced the format to S16_LE in fallback, we should double bps
to be consistent with an original config of the same settings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11512 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'spudec.c')
0 files changed, 0 insertions, 0 deletions