alsasink pause

philippe renon philippe_renon at yahoo.fr
Sat Apr 14 12:11:37 UTC 2018


No input as of yet. A GStreamer maintainer would have to look at those patches.
 

    Le Vendredi 13 avril 2018 9h27, Robert Rosengren <robert.rosengren at axis.com> a écrit :
 

 Thanks for letting me know. https://bugzilla.gnome.org/show_bug.cgi?id=788361 seems to give the tools needed for alsasink pause implementation. Any input on the patches yet?

On 04/12/2018 10:18 AM, philippe renon wrote:
> Hi,
> I worked on a similar issue affecting directsoundsink.
> See https://bugzilla.gnome.org/show_bug.cgi?id=788362
> Note that the issue title is wrong (should mention directsoundsink and note directsoundsrc).In that issue I also talk about alsasink.
> Related issues:https://bugzilla.gnome.org/show_bug.cgi?id=788361
> https://bugzilla.gnome.org/show_bug.cgi?id=788562
> Regards,Philippe.
> 
> 
>    Le Jeudi 12 avril 2018 10h05, Robert Rosengren <robert.rosengren at axis.com> a écrit :
>  
> 
>  Hi,
> 
> I noticed that when pausing an audio pipeline ending up in the alsasink, the sink itself does not care about state changes. Should the alsasink actually pause the ALSA device upon a pausing the pipeline? The benefit would be if the ALSA-device have configured long buffers/latency, the audio would be paused instantly instead of playing until buffer is empty. 
> 
> Looking into the code of gstalsasink, there does not seem to exist any callbacks from gstaudiosink notifying on pause and gstalsasink has not registered for change_state callbacks. Which mechanism would be the appropriate way for gstalsasink to handle pause?
> 
> Not all ALSA devices support pause, and this should be retrieved from ALSA layer. In addition, one might want to be able to configure this via property.
> 
> Does this sound like a good idea, or is there any pitfalls by actually pausing/resuming ALSA device?
> 
> BR, Robert
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> 
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180414/9a35f1f1/attachment.html>


More information about the gstreamer-devel mailing list