mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2024-11-22 19:10:47 +00:00
fix bug in call to cache in updater
This commit is contained in:
parent
eddccb66c5
commit
4c6fc2d396
@ -29,16 +29,18 @@ class Updater(threading.Thread):
|
|||||||
tuple(
|
tuple(
|
||||||
not x
|
not x
|
||||||
for x in comp(
|
for x in comp(
|
||||||
self.cache["strip_level"], self._remote._strip_buf
|
self._remote.cache["strip_level"], self._remote._strip_buf
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
tuple(
|
tuple(
|
||||||
not x
|
not x
|
||||||
for x in comp(self.cache["bus_level"], self._remote._bus_buf)
|
for x in comp(
|
||||||
|
self._remote.cache["bus_level"], self._remote._bus_buf
|
||||||
|
)
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
self._remote.cache["strip_level"] = self._remote._strip_buf
|
self._remote.cache["strip_level"] = self._remote._strip_buf
|
||||||
self._remote.cache["bus_level"] = self._remote._bus_buf
|
self._remote.cache["bus_level"] = self._remote._bus_buf
|
||||||
self._remote.subject.notify("ldirty")
|
self._remote.subject.notify("ldirty")
|
||||||
|
|
||||||
time.sleep(self._remote.ratelimit if self._remote.event.any() else 0.5)
|
time.sleep(self._remote.ratelimit if self._remote.event.any() else 0.1)
|
||||||
|
Loading…
Reference in New Issue
Block a user