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

2015-04-27 Thread Wilck, Martin
On Fr, 2015-04-24 at 13:53 +0800, Raymond Yau wrote: Pin complex 0x12 is directly connected to audio input 0x11. Driver switch between audio inputs node 0x11 and node 0x08 for The driver need to bind the amp in of node 0x11 and 0x08 to create the capture volume control when two Mic jacks

[pulseaudio-discuss] [PATCH] module-coreaudio-{device, detect}: implement record and playback modargs, curtesy of module-waveout.

2015-04-27 Thread Mihai Moldovan
Signed-off-by: Mihai Moldovan io...@ionic.de --- src/modules/macosx/module-coreaudio-detect.c | 23 --- src/modules/macosx/module-coreaudio-device.c | 23 --- 2 files changed, 40 insertions(+), 6 deletions(-) diff --git

Re: [pulseaudio-discuss] ThinkPad T-510 audio output mute LED non-workingness

2015-04-27 Thread Takashi Iwai
At Mon, 27 Apr 2015 13:11:53 +0800, Raymond Yau wrote: 2015-04-27 0:05 GMT+08:00 Takashi Iwai ti...@suse.de: At Sun, 26 Apr 2015 09:20:12 -0600, Glenn Golden wrote: Anyway, just my 2c, and entirely distinct from the issue at hand. Let's get the LED working as intended first.

Re: [pulseaudio-discuss] ThinkPad T-510 audio output mute LED non-workingness

2015-04-27 Thread Henrique de Moraes Holschuh
On Fri, Apr 24, 2015, at 22:39, Glenn Golden wrote: in response to the event. What action can be taken to turn on the mute LED? Issue an amixer/pactl/pacmd command to toggle the Master Playback mute state? Speaking as the thinkpad-acpi driver maintainer: Keeping the ThinkPad MUTE LED states

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

2015-04-27 Thread Tanu Kaskinen
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. --- src/pulsecore/conf-parser.c | 23

[pulseaudio-discuss] [PATCH v3 2/6] When switching ports, use the port default volume

2015-04-27 Thread Tanu Kaskinen
If two ports have different default volumes, and module-device-restore doesn't have an opinion on the port volume, we should change the sink/source volume to the new port's default volume when switching ports, instead of keeping the volume at whatever it happened to be when the old port was

[pulseaudio-discuss] [PATCH v3 5/6] alsa-mixer: Add default-volume path option

2015-04-27 Thread Tanu Kaskinen
This allows customizing the default volume on a per-path basis. The default volume for analog outputs is set to 30%, because that's less likely to be too loud than the default default volume, which is 100%. Digital outputs typically have another volume control down the line, so for those it makes

[pulseaudio-discuss] [PATCH v3 6/6] alsa-mixer: Improve volume handling for Terratec Aureon Dual USB

2015-04-27 Thread Tanu Kaskinen
This card can be used in analog or digital mode, and in the digital mode there's no hardware volume or mute support. With the default configuration PulseAudio only sees a single speaker port, and assumes that controlling the Speaker element has some effect, which is not true in the digital mode.

[pulseaudio-discuss] [PATCH v3 0/6] Add default volume to ports

2015-04-27 Thread Tanu Kaskinen
Here's the third version of the patch set that aims to fix the Aureon volume bug[1]. Changes in v3: - Use pa_parse_volume() in pa_config_parse_volume(). - Add mute and save_mute fields to pa_sink/source_port_changed_hook_data to make the mute handling symmetric with the volume handling.

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

2015-04-27 Thread Tanu Kaskinen
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. This also changes the percentage parsing to allow non-integer values. --- src/pulsecore/core-util.c | 42 ++ 1 file

[pulseaudio-discuss] [PATCH v3 1/6] core: Add default volume to ports

2015-04-27 Thread Tanu Kaskinen
The sink and source default volume have so far been decided using this algorithm: 1. Allow policy modules to decide the default volume. 2. If policy modules don't make a decision, use the current hw volume as the default volume. 3. If no hw volume is available, use 100%. This patch adds one

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

2015-04-27 Thread Raymond Yau
2015-04-27 19:08 GMT+08:00 Wilck, Martin martin.wi...@ts.fujitsu.com: 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 discussion on the jack mics and leave Internal Mic aside. I can only say that from