mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
alsa: ucm - remove duplicate assignment
The data pointer is already set few lines before. Signed-off-by: Jaroslav Kysela <perex@perex.cz> Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/670>
This commit is contained in:
parent
2101078c22
commit
4d98c8bbf1
1 changed files with 0 additions and 2 deletions
|
|
@ -1092,8 +1092,6 @@ static void ucm_add_port_combination(
|
||||||
if (num == 1) {
|
if (num == 1) {
|
||||||
/* To keep things simple and not worry about stacking controls, we only support hardware volumes on non-combination
|
/* To keep things simple and not worry about stacking controls, we only support hardware volumes on non-combination
|
||||||
* ports. */
|
* ports. */
|
||||||
data = PA_DEVICE_PORT_DATA(port);
|
|
||||||
|
|
||||||
PA_HASHMAP_FOREACH_KV(profile, vol, is_sink ? dev->playback_volumes : dev->capture_volumes, state) {
|
PA_HASHMAP_FOREACH_KV(profile, vol, is_sink ? dev->playback_volumes : dev->capture_volumes, state) {
|
||||||
pa_alsa_path *path = pa_alsa_path_synthesize(vol->mixer_elem,
|
pa_alsa_path *path = pa_alsa_path_synthesize(vol->mixer_elem,
|
||||||
is_sink ? PA_ALSA_DIRECTION_OUTPUT : PA_ALSA_DIRECTION_INPUT);
|
is_sink ? PA_ALSA_DIRECTION_OUTPUT : PA_ALSA_DIRECTION_INPUT);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue