mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2024-11-22 19:10:47 +00:00
fix delay in fadeto,fadeby
This commit is contained in:
parent
12281a58c8
commit
c7c4b199cb
@ -82,11 +82,11 @@ class Strip(IRemote):
|
|||||||
|
|
||||||
def fadeto(self, target: float, time_: int):
|
def fadeto(self, target: float, time_: int):
|
||||||
self.setter("FadeTo", f"({target}, {time_})")
|
self.setter("FadeTo", f"({target}, {time_})")
|
||||||
time.sleep(self._remote.delay)
|
time.sleep(self._remote.DELAY)
|
||||||
|
|
||||||
def fadeby(self, change: float, time_: int):
|
def fadeby(self, change: float, time_: int):
|
||||||
self.setter("FadeBy", f"({change}, {time_})")
|
self.setter("FadeBy", f"({change}, {time_})")
|
||||||
time.sleep(self._remote.delay)
|
time.sleep(self._remote.DELAY)
|
||||||
|
|
||||||
|
|
||||||
class PhysicalStrip(Strip):
|
class PhysicalStrip(Strip):
|
||||||
|
Loading…
Reference in New Issue
Block a user