Bug 105235

Summary: playing an ogg file though gstreamer produces only static
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Cameron Meadors <cmeadors>
Component: SoundAssignee: Takashi Iwai <tiwai>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: gnome-bugs
Version: Beta 1   
Target Milestone: Beta 2   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Cameron Meadors 2005-08-17 15:36:01 UTC
If I try to play an ogg file with anything that uses gstreamer as the backend,
all I get is loud static.  This happens with the alsa, oss, and esd gst backends.
Comment 1 Takashi Iwai 2005-08-17 15:45:06 UTC
How can I reproduce this bug in the simplest way?  Anyway, try beta2...

If this happens with OSS and if the device isn't blocked, I suspect a problem of
gstreamer plugin rather the sound backend.  You can check fuser /dev/snd/pcm*
and /dev/dsp* whether any devices are occupied.

Comment 2 Cameron Meadors 2005-08-18 14:23:47 UTC
it works in Beta 2. 
Comment 3 Cameron Meadors 2005-08-26 13:58:15 UTC
This is back in beta 3.  All static again for ogg/vorbis files.  This time it
only does it with the alsa backend.  oss and esd backends sound fine.  Other
formats sound fine with all backends.
Comment 4 Cameron Meadors 2005-08-26 14:27:48 UTC
Actully, it seesm to only be a problem when using gst-launch.  Rhythmbox and
banshee both play the files fine.
Comment 5 Takashi Iwai 2005-08-26 14:39:56 UTC
Interesting, I got a bugreport with banshee on beta3, which symptom sounds
similar with this.  See #113316.

BTW, run alsamixer on a terminal and then run gstreamer to see whether it
changes the volumes.  It's important to know whether it changes the mixer or it
produces silent sound data.

Comment 6 Takashi Iwai 2005-08-26 14:40:43 UTC
Added maintainer to Cc.

Comment 7 Cameron Meadors 2005-08-26 15:16:48 UTC
Let me restate the problem for clarity.  If I run the command

  gst-launch filesrc location=somefile.ogg ! spider ! alsasink

I get static.  If I run this command

   gst-launch filesrc location=somefile.ogg ! spider ! osssink

I get a clear rendering of the music encoded in the ogg file.  This is also true
if I use Rhythmbox or Banshee to play the same ogg, if the gstreamer backend is
set to alsasink with gstreamer-properties.

The volume level does not matter.  Running gst-launch does not change the volume.

Since most people will not use gst-launch it doesn't seem to be that important
if the real apps work fine.  Although this should be fixed.
Comment 8 Cameron Meadors 2005-08-26 15:36:25 UTC
I have discovered that the static is only is the left channel.  The right
channel is noisy and quite, but you can here contents of the ogg file.
Comment 9 Takashi Iwai 2005-09-23 09:23:03 UTC
Any chance to try rc4?  I fixed a bug in alsa-lib and this might improve this
case, too...
Comment 10 Mark Gordon 2005-09-23 15:52:09 UTC
I'd been able to reproduce the problem in the past, but it's working for me in
RC4.  Closing as FIXED.