mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
pulsecore: Use PA_IDXSET_FOREACH wherever applicable.
Signed-off-by: Harsh Prateek Bora <harsh.bora@linaro.org>
This commit is contained in:
parent
f38c1e9bf9
commit
13c7a55599
5 changed files with 16 additions and 16 deletions
|
|
@ -3558,7 +3558,7 @@ static void command_get_info_list(pa_pdispatch *pd, uint32_t command, uint32_t t
|
|||
}
|
||||
|
||||
if (i) {
|
||||
for (p = pa_idxset_first(i, &idx); p; p = pa_idxset_next(i, &idx)) {
|
||||
PA_IDXSET_FOREACH(p, i, idx) {
|
||||
if (command == PA_COMMAND_GET_SINK_INFO_LIST)
|
||||
sink_fill_tagstruct(c, reply, p);
|
||||
else if (command == PA_COMMAND_GET_SOURCE_INFO_LIST)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue