mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
device-manager: debug and comments
This commit is contained in:
parent
e589f38e22
commit
faae33d808
1 changed files with 2 additions and 1 deletions
|
|
@ -322,7 +322,7 @@ static void subscribe_callback(pa_core *c, pa_subscription_event_type_t t, uint3
|
||||||
data.data = &entry;
|
data.data = &entry;
|
||||||
data.size = sizeof(entry);
|
data.size = sizeof(entry);
|
||||||
|
|
||||||
pa_log_info("Storing device description for %s.", name);
|
pa_log_info("Storing device %s.", name);
|
||||||
|
|
||||||
pa_database_set(u->database, &key, &data, TRUE);
|
pa_database_set(u->database, &key, &data, TRUE);
|
||||||
|
|
||||||
|
|
@ -569,6 +569,7 @@ static int extension_cb(pa_native_protocol *p, pa_module *m, pa_native_connectio
|
||||||
key.data = (char*) name;
|
key.data = (char*) name;
|
||||||
key.size = strlen(name);
|
key.size = strlen(name);
|
||||||
|
|
||||||
|
/** @todo: Reindex the priorities */
|
||||||
pa_database_unset(u->database, &key);
|
pa_database_unset(u->database, &key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue