[pulseaudio-discuss] Flat volumes and programmatic volume access (again)
Xabier Rodríguez Calvar
xrcalvar at igalia.com
Tue Oct 20 01:24:35 PDT 2015
Hi,
O Lun, 19-10-2015 ás 15:19 +0530, Arun Raghavan escribiu:
> * Streams set a PA_STREAM_DISABLE_FLAT_VOLUME (or
> PA_STREAM_PROG_VOLUME_CONTROL or whatever) on the streams for which
> they want the new behaviour.
> * I'd also like to add a policy module to allow blacklisting specific
> applications, and forcing this behaviour on them. This will need a
> protocol update to set a stream flag after the stream is connected.
>
> * For legacy apps that are not covered by the blacklist we could add
> an
> environment variable that makes all stream and sink-input volume
> -related bits to use the new behaviour.
Just thinking out loud and you have probably thought about this before
and discarded it, but just in case. What about instead
of PA_STREAM_DISABLE_FLAT_VOLUME we have PA_STREAM_ENABLE_FLAT_VOLUME
and consider all apps to have flat volumes disabled by default.
This would require definitely more work from the app side though not
that much. Maybe some api could be implemented in GStreamer to ease
setting the attribute at the right moment.
Best regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20151020/2b33a88d/attachment.sig>
More information about the pulseaudio-discuss
mailing list