[gst-devel] Rhythmbox+Pause+GstStaticPadTemplate & GstAudioClock

Christophe Fergeau teuf at gnome.org
Sat Sep 11 07:37:05 CEST 2004


Setting the sink to NULL was broken in the early 0.8 releases, then it 
was fixed, and Company readded it to rhythmbox. I don't really see the 
point of waiting 5 secs to go to READY or NULL since people will 
generally pause music for longer than that, so we probably can do it 
immediatly. If setting the sink to NULL is considered wrong by the 
GStreamer team, we probably can special case alsasink and osssink to 
only do it for those two.
Anyway, the only thing I'm interested in is a good way of releasing the 
sound device on pause. It works by setting the sink to NULL. If this is 
wrong/if there are other ways, feel free to propose a better way to do it ;)

Christophe

Thomas Vander Stichele a écrit :

>It still does that ? I thought that Company fixed some stuff so that
>wasn't necessary anymore.  Did that not go through ?
>
>Anyway, an app should not set a sink to NULL; a networked audio daemon
>is exactly the kind of reason why you would not want this.
>
>Teuf, I've always felt that RB should do something like just go to
>paused on "pause"; then if after five secs the user doesn't go to
>playing still, move to "READY" or, in the case of broken sinks, "NULL"
>How does that sound ?
>
>Thomas
>
>On Sat, 2004-09-11 at 10:19, Christophe Fergeau wrote:
>  
>
>>Hi,
>>
>>    
>>
>>>Another question: why doesn't rhythmbox just pause the pipeline when
>>>the user clicks on pause in the GUI? why is it destroyed completely?
>>> 
>>>
>>>      
>>>
>>It doesn't destroy the whole pipeline, it sets the output sink state to 
>>NULL. This is so that alsasink and osssink release the sound device for 
>>other apps to be able to play music when rhythmbox is paused.
>>
>>Christophe
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
>>Project Admins to receive an Apple iPod Mini FREE for your judgement on
>>who ports your project to Linux PPC the best. Sponsored by IBM. 
>>Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
>>_______________________________________________
>>gstreamer-devel mailing list
>>gstreamer-devel at lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>    
>>
>
>Dave/Dina : future TV today ! - http://www.davedina.org/
><-*- thomas (dot) apestaart (dot) org -*->
>"Would you like my advice ?"
>"That depends. Will I like it ?"
>"Of course you won't ! My advice is based on reality !"
><-*- thomas (at) apestaart (dot) org -*->
>URGent, best radio on the net - 24/7 ! - http://urgent.fm/
>
>
>  
>





More information about the gstreamer-devel mailing list