mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-28 05:40:26 -04:00
alsa: fix typoed braces in condition + assign
This commit is contained in:
parent
93495d3a75
commit
3febf09b85
1 changed files with 1 additions and 1 deletions
|
|
@ -773,7 +773,7 @@ static void bind_ctl_event(struct spa_source *source)
|
||||||
snd_ctl_elem_id_alloca(&bound_id);
|
snd_ctl_elem_id_alloca(&bound_id);
|
||||||
snd_ctl_elem_value_alloca(&old_value);
|
snd_ctl_elem_value_alloca(&old_value);
|
||||||
|
|
||||||
while ((err = snd_ctl_read(state->ctl, ev) > 0)) {
|
while ((err = snd_ctl_read(state->ctl, ev)) > 0) {
|
||||||
bool changed = false;
|
bool changed = false;
|
||||||
|
|
||||||
if (snd_ctl_event_get_type(ev) != SND_CTL_EVENT_ELEM)
|
if (snd_ctl_event_get_type(ev) != SND_CTL_EVENT_ELEM)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue