Re: [pulseaudio-discuss] [PATCH v3 3/6] core-util: Make pa_parse_volume() more strict

2015-04-28 Thread David Henningsson
On 2015-04-27 13:34, Tanu Kaskinen wrote: Previously pa_parse_volume() clamped the value to fit in the valid range, but I think it's better to reject values outside the valid range. It looks like pa_parse_volume is only used from module-role-ducking (via pa_modargs_get_value_volume) so I gue

Re: [pulseaudio-discuss] [PATCH v3 4/6] conf-parser: Add pa_config_parse_volume()

2015-04-28 Thread David Henningsson
On 2015-04-27 13:34, 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. My

Re: [pulseaudio-discuss] [PATCH v3 4/6] conf-parser: Add pa_config_parse_volume()

2015-04-28 Thread Tanu Kaskinen
On Tue, 2015-04-28 at 09:39 +0200, David Henningsson wrote: > > On 2015-04-27 13:34, 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

Re: [pulseaudio-discuss] [PATCH v3 4/6] conf-parser: Add pa_config_parse_volume()

2015-04-28 Thread David Henningsson
On 2015-04-28 10:17, Tanu Kaskinen wrote: On Tue, 2015-04-28 at 09:39 +0200, David Henningsson wrote: On 2015-04-27 13:34, 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, becaus

Re: [pulseaudio-discuss] Mic Boost on AC97 audio causes bad behavior of mic volume control

2015-04-28 Thread Wilck, Martin
On Di, 2015-04-28 at 12:10 +0800, Raymond Yau wrote: > > > 2015-04-27 19:08 GMT+08:00 Wilck, Martin > : > On Fr, 2015-04-24 at 13:53 +0800, Raymond Yau wrote: > > However the driver seems to hide this complexity. For > simplicity, we > should focus the dis