Bug 110117 - play-sound fails with osscommon-failure: unable to open dev/dsp in use
Summary: play-sound fails with osscommon-failure: unable to open dev/dsp in use
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: rhythmbox
Version: 1
Hardware: athlon
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Colin Walters
QA Contact:
URL:
Whiteboard:
: 111954 (view as bug list)
Depends On: 130593
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-14 22:11 UTC by shrek-m
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-05-13 08:57:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description shrek-m 2003-11-14 22:11:34 UTC
Description of problem:
play-sound fails with osscommon-failure:
  "unable to open dev/dsp (in use ?)"
if in gnome the sound-events are enabled
via gnome-sound-properties

Version-Release number of selected component (if applicable):
rhythmbox-0.5.4-1
gnome-media-2.4.0-2

How reproducible:
always

Steps to Reproduce:
1. enable gnome sound-events
2. try to play sound with rhythmbox --> error
3. use mplayer, xine, ...  --> no problems
  
Actual results:
you are not able to play sound with rhythmbox but with other players

Expected results:
rhythmbox should play the sound

Additional info:
disable the sound-events and rhythmbox is able to play sound

Comment 1 Miloslav Trmac 2004-03-01 09:33:07 UTC
*** Bug 111954 has been marked as a duplicate of this bug. ***

Comment 2 Kyrre Ness Sjøbæk 2004-04-22 18:23:28 UTC
Seen the same problem when using KDE. It then pops up six messages
stating that /dev/dsp is in use. A quick lsof | grep dsp reveals that
it is artsd who occupies the. When I kill artsd, I am naturally able
to play music with rythmbox.

But this problem will go away anyway by itself in Fedora Core 2, as it
it has a 2.6 series kernel => ALSA which has multiple-stream support,
rigth?

Comment 3 Colin Walters 2004-09-21 21:13:49 UTC
For all of you: What is the output of:
gconftool-2 -g /system/gstreamer/0.8/default/audiosink

Be sure it's "alsasink".

Once that works, we need bug #130593 to be fixed.

Comment 4 shrek-m 2004-10-06 17:32:12 UTC
i had a harddisk-crash a few month agoo.

$ date -u
Mi Okt  6 17:09:05 UTC 2004

$ cat /etc/fedora-release
Fedora Core release 2 (Tettnang)

$ rpm -q rhythmbox gnome-media
rhythmbox-0.8.3-3
gnome-media-2.6.0-1

$ gconftool-2 -g /system/gstreamer/0.8/default/audiosink
alsasink


FYI:
i am not able to hear sound with rhytmbox *and* gnome-events together 
-->
ERROR "ALSA device "default" is already in use by another program."
ERROR  "Wiedergabe konnte nicht unterbrochen werden"

eg.

$ rhythmbox
Use of deprecated SAXv1 function endElement
** (gnome-help:11439): WARNING **: Cannot open font file for font
Kochi Gothic 10
Got error opening "file:///home/admin/sound/test.ogg": Wiedergabe
konnte nicht unterbrochen werden

Comment 5 Marius Andreiana 2005-05-13 08:34:23 UTC
Fedora Core 1 has been transferred to Fedora Legacy project. Please upgrade and
close this or move this bug in Fedora Legacy product.


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