mirror of https://github.com/mpv-player/mpv
fixed ibps
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5423 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
40ed999545
commit
03b4e0a033
|
@ -30,7 +30,7 @@ static int init(sh_audio_t *sh_audio)
|
|||
{
|
||||
sh_audio->channels=sh_audio->wf->nChannels;
|
||||
sh_audio->samplerate=sh_audio->wf->nSamplesPerSec;
|
||||
sh_audio->i_bps = (sh_audio->channels * 22050) / 2;
|
||||
sh_audio->i_bps = 44100;
|
||||
|
||||
if ((sh_audio->a_in_buffer =
|
||||
(unsigned char *)malloc(sh_audio->audio_out_minsize / 2)) == NULL)
|
||||
|
|
Loading…
Reference in New Issue