mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +01:00
set ss_mul to number of channels. Works with all samples I found.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14492 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
31653cb3f7
commit
d9d93cba85
@ -33,7 +33,7 @@ static int preinit(sh_audio_t *sh)
|
||||
{
|
||||
sh->audio_out_minsize=2048;
|
||||
sh->ds->ss_div = 1; // 1 samples/packet
|
||||
sh->ds->ss_mul = 1; // 1 bytes/packet
|
||||
sh->ds->ss_mul = sh->wf->nChannels; // bytes/packet
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user