Buffer message channel for music

gatt_localtime
Arsen Musayelyan 1 year ago
parent d9823bf0c8
commit e9a611aec8

@ -26,7 +26,7 @@ func Init() error {
dbus.WithMatchInterface("org.freedesktop.DBus.Properties"),
dbus.WithMatchMember("PropertiesChanged"),
)
monitorCh = make(chan *dbus.Message)
monitorCh = make(chan *dbus.Message, 10)
monitorConn.Eavesdrop(monitorCh)
// Connect to session bus for method calls

Loading…
Cancel
Save