From 771bc223acf8a118bfae75de5e343908bd8ea1e1 Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Mon, 27 Jun 2022 16:49:37 +0100 Subject: [PATCH] device section added to readme --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 7bdde7a..a2c0cba 100644 --- a/README.md +++ b/README.md @@ -356,6 +356,20 @@ vm.command.showvbanchat = True `showvbanchat` and `lock` are write only. +### Device + +- `ins` `outs` : Returns the number of input/output devices +- `input(i)` `output(i)` : Returns a dict of device properties for device[i] + +example: + +```python +import voicemeeterlib +with voicemeeterlib.api(kind_id) as vm: + for i in range(vm.device.ins): + print(vm.device.input(i)) +``` + ### Multiple parameters - `apply`