[Gstreamer-bugs] [Bug 123904] New - alsasink gives error with snd-via82xx

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Sun Oct 5 10:40:59 PDT 2003


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=123904

Changed by gjc at inescporto.pt.

--- shadow/123904	Sun Oct  5 13:40:58 2003
+++ shadow/123904.tmp.19206	Sun Oct  5 13:40:58 2003
@@ -0,0 +1,39 @@
+Bug#: 123904
+Product: GStreamer
+Version: 0.6.x CVS
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: critical
+Priority: Normal
+Component: gst-plugins
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: gjc at inescporto.pt               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: HEAD
+URL: 
+Summary: alsasink gives error with snd-via82xx
+
+ALSA version 0.9.7
+ With my snd-via82xx driver, the alsasink plugin doesn't work.  It fails here :
+  ret = snd_pcm_sw_params (this->handle, sw_param);
+
+The error given is:
+ALSA lib pcm_hw.c:370:(snd_pcm_hw_sw_params) SNDRV_PCM_IOCTL_SW_PARAMS
+failed: Invalid argument
+
+  I discovered that the error appears only if the silence size sw property
+is set.  I uncommented this block to make it work:
+
+  ret = snd_pcm_sw_params_set_silence_size (this->handle, sw_param,
+this->buffer_frames);
+  if (ret < 0) {
+    g_warning ("could not set silence size: %s", snd_strerror (ret));
+    return FALSE;
+  }
+
+  Setting the parameter to zero also works.
+
+  I am not claiming it's gstreamer's fault, because I simply do not know. 
+What do you think?




More information about the Gstreamer-bugs mailing list