alsasink leaves sockets openned?
Jorge Fernandez Monteagudo
jorgefm at cirsa.com
Wed Jun 12 05:19:58 PDT 2013
Hi!
Sorry, no GStreamer 1.0 test yet!
My first try is the alsasink, but alsa lib is not discarded! I'm reviewing the
gstalsasink.c code and it's seems ok. I would like to know where the sockets
are created...
I only have one device
root at igep00x0:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: igep [igep], device 0: TWL4030 twl4030-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
root at igep00x0:~# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=igep
igep,
Default Audio Device
I've seen vlc creating the sockets when playing an mp3 but they are
released when is over. I've asking the same in the alsa mailing list. I hope
not to be the only one with this problem :)
________________________________________
From: gstreamer-devel-bounces+jorgefm=cirsa.com at lists.freedesktop.org [gstreamer-devel-bounces+jorgefm=cirsa.com at lists.freedesktop.org] On Behalf Of Tim-Philipp Müller [t.i.m at zen.co.uk]
Sent: Wednesday, June 12, 2013 2:03 PM
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: alsasink leaves sockets openned?
On Wed, 2013-06-12 at 13:40 +0200, Jorge Fernandez Monteagudo wrote:
Hi,
> No, I'm creating the pipeline element by element in a C program, the next way:
>
> // Create elements.
> audio_queue = gst_element_factory_make( "queue", NULL );
> audio_decode = gst_element_factory_make( "ffdec_aac", NULL );
> audio_sink = gst_element_factory_make( "alsasink", NULL );
>
>
> I've read your post and you said you can not reproduce that in C, but that's its
> what I have. Have you found anything?
Have you tried if it still happens with GStreamer 1.0 ?
Are you sure it's the alsasink element leaking the fd and not libasound
for example? Does it happen with all devices, e.g. hw:0 as well? (in
case you use e.g. dmix).
Cheers
-Tim
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o CONFIDENCIAL. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.
This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege.
If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it.
More information about the gstreamer-devel
mailing list