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 98558 - Need some way to release sound device
Need some way to release sound device
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
0.3.0.99
Other other
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-11-15 04:24 UTC by Jason Tackaberry
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jason Tackaberry 2002-11-15 04:24:14 UTC
Rhythmbox should have either have a stop button, or the pause button should
release the sound device.  I'd like to leave Rhythmbox loaded and just
minimized when I'm not using it, but if I do this the sound device is
locked and no other applications can use it.
Comment 1 Jorn Baayen 2002-11-15 13:40:14 UTC
Well, use modern sound system like ALSA...

Or you could write some patch for gstreamer osssink to release the
sounddev when paused.

Anyway, not a RB bug.
Comment 2 Brian Kerrick Nickel 2003-08-16 08:14:15 UTC
This is the same problem gst-player faces on
http://bugzilla.gnome.org/show_bug.cgi?id=115200

Pausing without changing the audiosink prevents other sound software
from running (even with esound).

I personally feel its a problem in gstreamer, but it should be easily
fixable on the application level.
Comment 3 David Schleef 2003-08-17 22:26:03 UTC
Yup, this is an application problem.  Sources and sinks (when
appropriate) should be set to NULL to release their resources.
Comment 4 Colin Walters 2003-08-18 00:41:44 UTC
I don't think so.  I think it's a sound server issue.  Applications
shouldn't have to bother with this stuff.

Say I'm playing my music over sftp://.  Each connection setup is
expensive (requires public/private key crypto).  So we want to keep
that connection open even when pausing for a few seconds.

Anyways, if someone provides a patch to make rb record the position in
the stream on pause, and then restore that on unpause, I'll apply it.
 But I don't really care enough to write that myself, and I still feel
it's a workaround for the lack of a good sound server.
Comment 5 Brian Kerrick Nickel 2003-08-18 01:05:00 UTC
20 to 1 odds say sound server people blame gstreamer.
Everyone keeps passing the buck while I can't pause when using esound
(which still happens to be packaged with gnome, so It should be
properly supported no matter how much it sucks.)
Comment 6 Colin Walters 2003-08-19 00:48:02 UTC
Looks like Benjamin Otte fixed this in the latest CVS.