Re: [pulseaudio-discuss] [PATCH v3 4/4] Add A2DP LDAC codec source support

2019-01-13 Thread Huang-Huang Bao
My bad, noticed before, but I forgot it when adding copyrights. On 1/13/19 10:14 AM, Pali Rohár wrote: > On Saturday 29 December 2018 23:48:08 Huang-Huang Bao wrote: >> diff --git a/src/modules/bluetooth/a2dp/a2dp_ldac.c >> b/src/modules/bluetooth/a2dp/a2dp_ldac.c >> new file mode 100644 >>

[pulseaudio-discuss] [PATCH v2 0/2] Handle two Headphone Jacks with the same name

2019-01-13 Thread Hui Wang
Although the patchset tries to add index support, the objective is 100% compatible with the past. If there is no kcontrols with "index != 0", we don't need to change any conf files, the pulseaudio will work as before. The name of "Front Headphone Surround" and "Front Headphone Front" are not

[pulseaudio-discuss] [PATCH v2 1/2] alsa-mixer: Add alsa index number support for Element and Jack

2019-01-13 Thread Hui Wang
We have met a couple of machines which have two Kcontrols with the exact same names and with the different index numbers, for example: (1 physical headphone jack + 1 physical headset jack on front panel) - Simple mixer control 'Headphone',0 (volume and switch) - Simple mixer control

[pulseaudio-discuss] [PATCH v2 2/2] alsa-mixer: set different strings to name and alsa-name for jack and element

2019-01-13 Thread Hui Wang
It is possible that we set more than one jacks or elements with the same name and different index in a {path}.conf, the current code will only generate one pa_alsa_jack or pa_alsa_element for them regardless of the difference of index number. To fix it, we change the rule of naming an element or