Buffer message channel for music
This commit is contained in:
parent
b2b0ecebdd
commit
2a3df6bcf8
@ -26,7 +26,7 @@ func Init() error {
|
|||||||
dbus.WithMatchInterface("org.freedesktop.DBus.Properties"),
|
dbus.WithMatchInterface("org.freedesktop.DBus.Properties"),
|
||||||
dbus.WithMatchMember("PropertiesChanged"),
|
dbus.WithMatchMember("PropertiesChanged"),
|
||||||
)
|
)
|
||||||
monitorCh = make(chan *dbus.Message)
|
monitorCh = make(chan *dbus.Message, 10)
|
||||||
monitorConn.Eavesdrop(monitorCh)
|
monitorConn.Eavesdrop(monitorCh)
|
||||||
|
|
||||||
// Connect to session bus for method calls
|
// Connect to session bus for method calls
|
||||||
|
Reference in New Issue
Block a user