mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2026-04-18 20:43:33 +00:00
added strip/bus device mixins.
device_prop added to meta README, CHANGELOG updated to reflect changes. minor version bump fixes #3
This commit is contained in:
@@ -42,3 +42,12 @@ def bus_mode_prop(param):
|
||||
self.setter(param, 1 if val else 0)
|
||||
|
||||
return property(fget, fset)
|
||||
|
||||
|
||||
def device_prop(param):
|
||||
"""meta function for strip device parameters"""
|
||||
|
||||
def fset(self, val: str):
|
||||
self.setter(param, val)
|
||||
|
||||
return property(fset=fset)
|
||||
|
||||
Reference in New Issue
Block a user