mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 01:36:25 +01:00
1000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12003 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
00cd42458d
commit
bdf78eabee
@ -629,7 +629,7 @@ static int init(int rate_hz, int channels, int format, int flags)
|
||||
alsa_period_time = alsa_buffer_time/4; ;
|
||||
|
||||
dir = 0;
|
||||
if ((err = snd_pcm_hw_params_set_period_time_near(alsa_handler, alsa_hwparams, alsa_period_time, &dir)) < 0)
|
||||
if ((err = snd_pcm_hw_params_set_period_time_near(alsa_handler, alsa_hwparams, &alsa_period_time, &dir)) < 0)
|
||||
/* original: alsa_buffer_time/ao_data.bps */
|
||||
{
|
||||
printf("alsa-init: unable to set period time: %s\n",
|
||||
|
Loading…
Reference in New Issue
Block a user