[pulseaudio-discuss] [PATCH v2 3/5] conf-parser: Add pa_config_parse_volume()

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Mon Apr 20 23:53:51 PDT 2015


On Mon, 2015-04-20 at 09:31 +0200, David Henningsson wrote:
> 
> On 2015-04-17 22:26, Tanu Kaskinen wrote:
> > This will be used to parse the path default volume in the alsa mixer
> > configuration files. For now, percentages are the only supported
> > format, because I don't have need for anything else, but we can of
> > course add more volume formats later as needed.
> 
> There is a parse_volume function in pactl.c, how about moving it to 
> somewhere both conf-parser and pactl can use it?

It seems that core-util already has pa_parse_volume(). I didn't know
that existed - I'll use that.

-- 
Tanu



More information about the pulseaudio-discuss mailing list