[pulseaudio-discuss] [PATCH] core: Link virtual sinks and sources to their streams.
Tanu Kaskinen
tanu.kaskinen at digia.com
Thu Feb 3 04:56:17 PST 2011
On Thu, 2011-02-03 at 14:08 +0200, Kaskinen Tanu wrote:
> This change doesn't add any functionality in itself, but it will be useful in
> the future for handling cases where something happens in the "root device" on
> which virtual devices are piggy-backing, and where the event affects also the
> virtual devices. For example, the PA_PROP_DEVICE_MASTER_DEVICE property could
> be handled in the core so that each virtual device doesn't have to maintain it
> separately.
I see now that this description is a bit too short to be understandable.
The _MASTER_DEVICE property example could be clarified by mentioning
that by using the origin_sink and destination_source pointers the core
is able to see at stream creation time that the stream is created by a
virtual device, and then update that device's property list using the
name of the master device that the stream is being connected to. The
same thing can be done also when the stream is being moved from a device
to another, in which case the _MASTER_DEVICE property needs updating.
Do you want a new patch with extended commit message?
--
Tanu
More information about the pulseaudio-discuss
mailing list