Bug 135990 - aplay/gstreamer issues with ALSA devices
aplay/gstreamer issues with ALSA devices
Product: Fedora
Classification: Fedora
Component: alsa-lib (Show other bugs)
i686 Linux
medium Severity low
: ---
: ---
Assigned To: Martin Stransky
Depends On:
  Show dependency treegraph
Reported: 2004-10-16 08:02 EDT by David Mohring
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-29 09:16:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Mohring 2004-10-16 08:02:10 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041012

Description of problem:
Rawhide 2004-10-15

aplay and gstreamer fail with 
a) ALSA output device set to hw:0
b) ALSA output when using OSS or ALSA input

See GStreamer for bug details.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. gst-launch-0.8 sinesrc ! alsasink device=hw:0
2. aplay -D hw:0,0 /usr/share/sounds/info.wav
3. gst-launch-0.8  osssrc device=/dev/dsp1 !  alsasink device=plughw:0,0
4. gst-launch-0.8  alsasrc device=plughw:1,0 !  alsasink device=plughw:0,0

Actual Results:  Depending on the command used. 
#1,#2 Consistently return error message 
#3,#4 Just output silence

Expected Results:  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

Additional info:

Comment 1 Martin Stransky 2005-01-05 08:54:53 EST
Is plughw:1,0 input device? You don't have to use hw:0 directly, it is
hardware of your sound card and it probably don't support many
wave-formats directly.

Note You need to log in before you can comment on or make changes to this bug.