[pulseaudio-discuss] Volume algorithm

Tarantism tarantism at ntlworld.com
Mon Mar 7 12:19:39 PST 2011


On Sun, 2011-03-06 at 22:55 +0000, Tarantism wrote:
> On Sun, 2011-03-06 at 22:48 +0200, Tanu Kaskinen wrote:
> > Are you planning to use the module outside Maemo 5 (I assume you're
> > talking about Maemo 5)? I ask because Pulseaudio's internal API that
> > modules use isn't stable, so modules that aren't part of Pulseaudio
> > itself break very likely if you try to use them with any other version
> > of Pulseaudio than what they were compiled against.
> Yes, I am planning to use the module outside Maemo 5.
> No, I wasn't aware that this plan was doomed to inevitable failure ...
> I'll have to look into that.
The interfaces that I'm using (those in module-sine.c) seem pretty
stable (last major API change in July '07). I can keep up with that.

> > The volume system on Maemo is a bit peculiar. The system volume doesn't
> > touch any sink volumes (except with bluetooth in HSP/HFP mode), all
> > volume control is done by adjusting stream volumes. If you want to use
> > the same volume as eg. the music player, set the media.role property of
> > the sink input to "x-maemo". That's a special role for pretty much
> > everything else than phone and event sound streams.
> That figures. Thanks very much!
And works nicely. I won't say how long my dbus volume monitor class
work-around took to get working ... oh well.





More information about the pulseaudio-discuss mailing list