mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00: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->audio_out_minsize=2048;
|
||||||
sh->ds->ss_div = 1; // 1 samples/packet
|
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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user