mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
module-stream-restore: log error writing volume/mute/device entry to database
This commit is contained in:
parent
e0ab9fa4a4
commit
99b2d88282
1 changed files with 4 additions and 1 deletions
|
|
@ -1441,8 +1441,11 @@ static void subscribe_callback(pa_core *c, pa_subscription_event_type_t t, uint3
|
|||
|
||||
pa_log_info("Storing volume/mute/device for stream %s.", name);
|
||||
|
||||
if (entry_write(u, name, entry, true))
|
||||
if (entry_write(u, name, entry, true)) {
|
||||
trigger_save(u);
|
||||
} else {
|
||||
pa_log_error("Could not store volume/mute/device for stream %s.", name);
|
||||
}
|
||||
|
||||
#ifdef HAVE_DBUS
|
||||
if (created_new_entry) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue