After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 156335 - ERROR: /pipeline0/osssink0: osscommon: Cannot access /dev/dsp, does it exist ? pipeline doesn't want to play
ERROR: /pipeline0/osssink0: osscommon: Cannot access /dev/dsp, does it exist ...
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: dont know
0.6.4
Other Linux
: Immediate blocker
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-10-24 22:52 UTC by Bill Brown
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Bill Brown 2004-10-24 22:52:47 UTC
Install all available Gstreamer libraries and plugins.  

from the command line invoke "gst-launch sinesrc ! osssink"

Here is a trace of the output:

INFO ( 4793: 0) Initializing GStreamer Core Library version 0.6.4
INFO ( 4793: 0) CPU features: (000007a0) MMX SSE 3DNOW MMXEXT
INFO ( 4793: 0) registry: loaded user_registry in 0.000116 seconds
          (/home/bill/.gstreamer/registry.xml)
INFO ( 4793: 0) registry: loaded global_registry in 0.285229 seconds
          (/var/lib/gstreamer/0.6/registry.xml)
GStreamer-INFO: 0 live buffer(s)
GStreamer-INFO: 0 live bufferpool(s)
GStreamer-INFO: 0 live event(s)
RUNNING pipeline
ERROR: /pipeline0/osssink0: osscommon: Cannot access /dev/dsp, does it exist ?
pipeline doesn't want to play
GStreamer-INFO: 0 live buffer(s)
GStreamer-INFO: 0 live bufferpool(s)
GStreamer-INFO: 0 live event(s)
Comment 1 Bill Brown 2004-10-24 22:55:50 UTC
I'm running debian sarge:
uname output:  Linux homeoffice 2.6.7-1-686 #1 Thu Jul 8 05:36:53 EDT 2004 i686
GNU/Linux

Let me know if you need anything else.  
Comment 2 Ronald Bultje 2004-10-25 06:44:57 UTC
Answer the basic question: what's there on /dev/dsp? :). Run
gnome-volume-control (part of gnome-media) to get an overview of your OSS
soundcards and please tell us which mixers it finds.
Comment 3 Bill Brown 2004-10-25 23:18:21 UTC
Greetings:

I took a look at the /dev directory and it looks like there is no "/dev/dsp"

homeoffice:~$ ls -l /dev/d*
lrwxrwxrwx  1 root root 3 Oct 25 13:09 /dev/dvd -> hdc

I have alsa running as the basic sound drivers built into the 2.6 kernel.  

gnome-volume-control opens the mixer gui and lists a "IEC958 Playback AC97-SPSA"
for the mixer.  There are also several "VIA DXS" lines.  

Do I need to create a symbolic link or something like that?  I took a look out
on the GStreamer website and could not find the troubleshooting information for
this type of error :<.  Thanks for your help. 
Comment 4 Ronald Bultje 2004-10-26 06:30:40 UTC
No, you need to load the ALSA->OSS compatibility modules (snd-mixer-oss and
snd-pcm-oss) in order to get /dev/dsp support.

Why are you using osssink and not alsasink, if I may ask?
Comment 5 Ronald Bultje 2004-10-29 12:07:39 UTC
Anyway, this is not a GStreamer bug. Feel free to ask on user mailinglists,
contact your local linux user group or even ask us on IRC to help getting this
to work. It's not a bug, however.