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
>>
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
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
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