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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux