changeset 12002:b9046e5093cc

1000l
author henry
date Fri, 27 Feb 2004 16:57:06 +0000
parents a11f3d59353d
children 48f1b211f43b
files libao2/ao_alsa1x.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_alsa1x.c	Fri Feb 27 10:21:12 2004 +0000
+++ b/libao2/ao_alsa1x.c	Fri Feb 27 16:57:06 2004 +0000
@@ -629,7 +629,7 @@
 	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",