[pulseaudio-discuss] [PATCH 2/2] pulsecore: srbchannel: Introduce per-client SHM files
Ahmed S. Darwish
darwish.07 at gmail.com
Fri Aug 28 06:52:36 PDT 2015
David Henningsson wrote:
> On 2015-08-28 15:22, Ahmed S. Darwish wrote:
> >
> > Regarding the mempools, after doing doing some inspection, there are
> > only two remaining:
> >
> > - One is created by the client using pa_context_new(), and seems to
> > be the main one for sending audio from client to daemon. Do we have
> > to do anything about it?
> >
> > - The other is created, system-wide, by the daeamon at pa_core->mempool.
> > I still did not check what this one is used for. Any advice?
>
> Both of these are used for sending audio (one in each direction). If
> possible, I'd like to move both into the current per-client rwpool. If
> impossible, just move the system-wide one there.
>
By "moving both into the current per-client rwpool", did you mean
changing the protocol to make the _daemon_ actually create the mempool
for sending audio from client to daemon?
I'm asking this because the current per-client rwpool is tracked
inside the daemon's book-keeping structure pa_native_connection->pa_client.
Thanks,
--
Darwish
http://darwish.chasingpointers.com
More information about the pulseaudio-discuss
mailing list