mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
ignore updates not relevant to us
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1996 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
1e0454eb74
commit
201dff7b2e
1 changed files with 6 additions and 0 deletions
|
|
@ -675,6 +675,9 @@ static void sink_info_cb(pa_pdispatch *pd, uint32_t command, PA_GCC_UNUSED uint3
|
|||
goto fail;
|
||||
}
|
||||
|
||||
if (strcmp(name, u->sink_name))
|
||||
return;
|
||||
|
||||
pa_xfree(u->device_description);
|
||||
u->device_description = pa_xstrdup(description);
|
||||
|
||||
|
|
@ -785,6 +788,9 @@ static void source_info_cb(pa_pdispatch *pd, uint32_t command, PA_GCC_UNUSED uin
|
|||
goto fail;
|
||||
}
|
||||
|
||||
if (strcmp(name, u->source_name))
|
||||
return;
|
||||
|
||||
pa_xfree(u->device_description);
|
||||
u->device_description = pa_xstrdup(description);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue