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 120239 - Pressing pause blocks sound output for Mplayer
Pressing pause blocks sound output for Mplayer
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: Monkey Media
0.5.0
Other Linux
: Low normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-08-19 12:40 UTC by Mårten Woxberg
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mårten Woxberg 2003-08-19 12:40:35 UTC
(using Xine backend since gst backend is broken (i get gnomevfssrc errors)
If I pause the song playing to play a movie I get no sound since Rhythmbox
blocks the sound output. Since there's no way of STOP playing a file in
Rhythmbox I have to quit rhythmbox and then start it again after I've
played the movie.

If you pause there should be one more choice, [] STOP so theres play and
STOP and if you press stop rhythmbox don't block sound output.
Comment 1 Mårten Woxberg 2003-08-25 10:34:52 UTC
It also blocks every SDL app and every xine app.
Comment 2 Bastien Nocera 2003-08-25 13:45:14 UTC
This is a generic problem, rhythmbox would need to "close" the device
in some instances, like when switching sources while the playback is
paused, and such.

This is not a xine specific bug.
Comment 3 Colin Walters 2003-08-25 15:03:16 UTC
Hmm.  Benjamin made some changes to the -gst-tmp.c implementation so
that it sets the sink's state to NULL on pause, thus releasing any
resources it was using.

Can't you do something similar with the Xine backend?

I don't think this has anything really to do with which source is
displayed.
Comment 4 Bastien Nocera 2003-08-26 23:12:05 UTC
2003-08-27  Bastien Nocera  <hadess@hadess.net>
                                                                     
         
        * monkey-media/monkey-media-player-xine.c:
        (monkey_media_player_pause): close the audio device on pause
        (Closes: #120239)

Watch out, it requires xine-lib CVS