mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-16 08:56:40 -05:00
intended-roles: properly initialize split state
This commit is contained in:
parent
d965000982
commit
b6d0b0e808
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ struct userdata {
|
||||||
static pa_bool_t role_match(pa_proplist *proplist, const char *role) {
|
static pa_bool_t role_match(pa_proplist *proplist, const char *role) {
|
||||||
const char *ir;
|
const char *ir;
|
||||||
char *r;
|
char *r;
|
||||||
const char *state;
|
const char *state = NULL;
|
||||||
|
|
||||||
if (!(ir = pa_proplist_gets(proplist, PA_PROP_DEVICE_INTENDED_ROLES)))
|
if (!(ir = pa_proplist_gets(proplist, PA_PROP_DEVICE_INTENDED_ROLES)))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue