[gstreamer-bugs] [Bug 155575] New: - alsasink broken with hw:X or when used with either alsasrc or osssrc
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Sat Oct 16 04:42:55 PDT 2004
http://bugzilla.gnome.org/show_bug.cgi?id=155575
GStreamer | gst-plugins | Ver: HEAD CVS
Summary: alsasink broken with hw:X or when used with either
alsasrc or osssrc
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: critical
Priority: High
Component: gst-plugins
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: heretic at ihug.co.nz
QAContact: gstreamer-bugs at lists.sourceforge.net
On Fedora Core Rawhide.
That plughw:0,0 works but hw:0 does not may be a Fedora problem
> gst-launch-0.8 sinesrc ! alsasink device=plughw:0,0
* Works fine
> gst-launch-0.8 sinesrc ! alsasink device=hw:0
RUNNING pipeline ...
ERROR: pipeline doesn't want to play.
* No sound.
* for export GST_DEBUG=*:5 see attached
gst-launch-0.8_sinesrc_alsasink_device_hw_0.txt
> aplay -D plughw:0,0 /usr/share/sounds/info.wav
Playing WAVE '/usr/share/sounds/info.wav' : Signed 16 bit Little Endian, Rate
44100 Hz, Mono
* Works fine
> aplay -D hw:0,0 /usr/share/sounds/info.wav
Playing WAVE '/usr/share/sounds/info.wav' : Signed 16 bit Little Endian, Rate
44100 Hz, Mono
aplay: set_params:859: Channels count non available
* Fails with No sound
Mplayer ( recompiled from freshrpms/dag SRPMSs ) works everyway
> mplayer -ao alsa:device=plughw#0.0 /usr/share/sounds/info.wav
> mplayer -ao alsa:device=hw#0 /usr/share/sounds/info.wav
> mplayer -ao oss /usr/share/sounds/info.wav
* Works fine, no anomalous error messages
With Gstreamer alsasrc or osssrc works OK if the sink is osssink
> gst-launch-0.8 alsasrc device=hw:1,0 ! osssink device=/dev/dsp
> gst-launch-0.8 alsasrc device=hw:1,0 ! osssink device=/dev/dsp1
> gst-launch-0.8 alsasrc device=plughw:1,0 ! osssink device=/dev/dsp
> gst-launch-0.8 alsasrc device=plughw:1,0 ! osssink device=/dev/dsp1
> gst-launch-0.8 osssrc device=/dev/dsp1 ! osssink device=/dev/dsp
> gst-launch-0.8 osssrc device=/dev/dsp1 ! osssink device=/dev/dsp1
* All of the above work Ok, outputting auto and returning at ctrl-break with
RUNNING pipeline ...
Caught interrupt.
Execution ended after 39 iterations (sum 7453782000 ns, average 191122615 ns,
min 168721000 ns, max 372568000 ns).
However alsasink with device=plughw:0,0 outputs utter silence.
> gst-launch-0.8 osssrc device=/dev/dsp1 ! alsasink device=plughw:0,0
> gst-launch-0.8 osssrc device=/dev/dsp1 ! alsasink device=plughw:1,0
> gst-launch-0.8 alsasrc device=plughw:1,0 ! alsasink device=plughw:0,0
> gst-launch-0.8 alsasrc device=plughw:1,0 ! alsasink device=plughw:1,0
RUNNING pipeline ...
Caught interrupt.
Execution ended after 189700 iterations (sum 3055855000 ns, average 16108 ns,
min 15000 ns, max 95219000 ns).
* See gst-launch-0.8_osssrc_alsasink_device_hw_0.txt
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.
More information about the Gstreamer-bugs
mailing list