Index: gstalsa.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins/ext/alsa/Attic/gstalsa.c,v
retrieving revision 1.136.2.7
diff -u -r1.136.2.7 gstalsa.c
--- gstalsa.c	19 Jun 2005 16:10:49 -0000	1.136.2.7
+++ gstalsa.c	21 Sep 2005 21:22:06 -0000
@@ -1793,16 +1793,16 @@
      * rate that was set.
      */
     rate = this->format->rate;
-    ERROR_CHECK (snd_pcm_hw_params_set_rate_near (this->handle, hw_params,
-            &rate, 0), "error setting rate (%d): %s", this->format->rate);
+    ERROR_CHECK (snd_pcm_hw_params_set_rate (this->handle, hw_params,
+            rate, 0), "error setting rate (%d): %s", this->format->rate);
     if (rate != this->format->rate)
       GST_WARNING_OBJECT (this, "set rate (%u) differs from desired rate (%u)",
           rate, this->format->rate);
     this->period_count =
         this->desired_period_count ? this->desired_period_count : 2;
     ret =
-        snd_pcm_hw_params_set_periods_near (this->handle, hw_params,
-        &this->period_count, 0);
+        snd_pcm_hw_params_set_periods (this->handle, hw_params,
+        this->period_count, 0);
     if (ret < 0) {
       /* if there's a specific period count requested, we have an error now. 
        * Otherwise, we just don't care */
