diff --git a/vban_cmd/dataclass.py b/vban_cmd/dataclass.py index c11edfe..af126c6 100644 --- a/vban_cmd/dataclass.py +++ b/vban_cmd/dataclass.py @@ -107,7 +107,6 @@ class VBAN_VMRT_Packet_Data: class VBAN_VMRT_Packet_Header: """ RT PACKET header (expected from Voicemeeter server) """ name='Voicemeeter-RTP' - timeout=15 vban: bytes='VBAN'.encode() format_sr: bytes=(0x60).to_bytes(1, 'little') format_nbs: bytes=(0).to_bytes(1, 'little') diff --git a/vban_cmd/strip.py b/vban_cmd/strip.py index 860992d..5072344 100644 --- a/vban_cmd/strip.py +++ b/vban_cmd/strip.py @@ -74,6 +74,14 @@ class InputStrip(Channel): raise VMCMDErrors('label is a string parameter') self.setter('label', val) + @property + def gain(self) -> float: + return self.gainlayer[0].gain + + @gain.setter + def gain(self, val: float): + self.gainlayer[0].gain = val + class PhysicalInputStrip(InputStrip): @property