git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12003 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
henry 2004-02-27 16:57:06 +00:00
parent 00cd42458d
commit bdf78eabee
1 changed files with 1 additions and 1 deletions

View File

@ -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",