Julien and list,
--
On Thu, Mar 17, 2016 at 11:48 AM, Paixao Julien <J.Paixao@xxxxxxxxxxx> wrote:
Hi,
I have a question regarding audio resource management using GStreamer, let's consider the following situation:
- On a server, an audio stream will be send to a multicast group when needed and only when needed.
- On client side it needs to playback the audio stream on a local speaker (using alsasink).
Most of the time, the audio stream won't be available on the network, so I would like to not lock the speaker resource (alsasink is locking it).
One the audio stream is there, then I will take the speaker resource and lock it.
Does GStreamer provide any clean way(s) of doing that?
FYI on client side I do not have any hardware mixing capabilities on my audio card.
What if something else is already using the speaker on your client when the audio stream arrives? Presumably your lock will fail...
Why don't you just software mix into the existing audio stream?
I think Pulse Audio could accomplish what you want (though maybe not the locking).
--
Chris Hermansen · clhermansen "at" gmail "dot" com
C'est ma façon de parler.
C'est ma façon de parler.
------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user