1
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:
reimar 2005-01-13 22:14:33 +00:00
parent 31653cb3f7
commit d9d93cba85

View File

@ -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;
}