[gstreamer-bugs] [Bug 410403] Alsasink needs to work differently for surround

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Feb 27 06:21:56 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=410403

  GStreamer | gst-plugins-base | Ver: HEAD CVS





------- Comment #7 from Jan Schmidt  2007-02-27 14:19 UTC -------
We really need to get some ALSA people involved - it's too hard to figure out
anything ALSA related without the input of someone who 'knows', there's just
not enough documentation to make sense of it otherwise.

As another data point, I get different behaviour when using plug:surround51:0
as xine does, versus surround51:0. Who knows why?

plug:surround51:0 produces:

0:00:00.447798000  4128 0x840410 DEBUG                 alsa
gstalsasink.c:335:set_hwparams:<alsasink0> Negotiating to 6 channels @ 48000 Hz
(format = S16_LE)
0:00:00.447909000  4128 0x840410 WARN                  alsa
pcm_params.c:2152:snd_pcm_hw_refine_slave: alsalib error: Slave PCM not usable
0:00:00.448022000  4128 0x840410 WARN                  alsa
gstalsasink.c:429:set_hwparams:<alsasink0> error: Broken configuration for
playback: no configurations available: Invalid argument

where surround51:0 results in just:

0:00:00.529074000  4226 0x83eea0 DEBUG                 alsa
gstalsasink.c:335:set_hwparams:<alsasink0> Negotiating to 6 channels @ 48000 Hz
(format = S16_LE)
0:00:00.529196000  4226 0x83eea0 WARN                  alsa
gstalsasink.c:429:set_hwparams:<alsasink0> error: Broken configuration for
playback: no configurations available: Invalid argument
0:00:00.529448000  4226 0x83eea0 WARN                  alsa 

Both settings allow the device to be opened, but fail to probe available
formats:
0:00:00.266000000  4114 0x66f030 ERROR                 alsa
gstalsa.c:383:gst_alsa_probe_supported_formats:<alsasink0> failed to query
formats: Invalid argument
0:00:00.266041000  4114 0x66f030 INFO                  alsa
gstalsasink.c:319:gst_alsasink_getcaps:<alsasink0> returning caps (NULL)
0:00:00.268137000  4114 0x66f030 ERROR                 alsa
gstalsa.c:383:gst_alsa_probe_supported_formats:<alsasink0> failed to query
formats: Invalid argument
0:00:00.268171000  4114 0x66f030 INFO                  alsa
gstalsasink.c:319:gst_alsasink_getcaps:<alsasink0> returning caps (NULL)
0:00:00.272176000  4114 0x66f030 ERROR                 alsa
gstalsa.c:383:gst_alsa_probe_supported_formats:<alsasink0> failed to query
formats: Invalid argument


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list