Commit Graph

137 Commits

Author SHA1 Message Date
68e9654502 add i to init, a little clearer to read 2022-12-14 23:58:44 +00:00
4b69952fd5 md fix in readme, reword in changelog 2022-12-09 01:17:16 +00:00
632cd9049f run o.Listen() in goroutine.
run main thread for 30 seconds
2022-12-09 00:55:18 +00:00
a846c59e72 reword in changelog 2022-12-09 00:54:53 +00:00
26765f554c refactor level methods for strip/bus types 2022-12-09 00:54:40 +00:00
134d016e10 tested against versions updated
changes to Strip[i] Comp, Gate and Denoiser added.

changes to Strip|Bus Eq added
2022-12-08 19:46:56 +00:00
18aef9e74b docstring fix 2022-12-08 19:45:18 +00:00
ca62f9ff3c docstring fix
var rename in makeStrip, makeBus
2022-12-08 19:45:02 +00:00
95963ead14 export PhysicalStrip, VirtualStrip types
export PhysicalBus, VirtualBus types
export VbanInstream, VbanOutStream types

These can now be used by consumer for type assertions.

Strip[i].Denoiser() now references a struct type.
This will be easier to extend if the api changes in future.
2022-12-08 19:44:06 +00:00
cd830abb78 Get prefix removed from getters in Button type 2022-12-08 10:56:12 +00:00
c6c6bfd2ee CHANGELOG, README updated to reflect changes. 2022-12-08 10:53:50 +00:00
7f2646ca6e tests/examples updated with v2 changes
getCmd in vm-cli always prints value.
2022-12-08 10:52:15 +00:00
c4f00a3dbd pooler now accepts channels
done channels used to clean up pooler if GUI goes down

InitPooler() added to Remote type, useful for reinitiating the Pooler.
For this reason Pooler now defined as singleton type.
2022-12-08 10:50:00 +00:00
e01efb22eb debug logging added to getters/setters in iRemote 2022-12-08 10:27:34 +00:00
62b4956279 return values for CAPI calls fixed.
Polling functions now return error types
2022-12-08 10:26:19 +00:00
4c54d924b3 Get prefix removed from getters 2022-12-08 10:24:52 +00:00
b116f04f51 Get prefix removed from getters
True for Bus, Strip, Vban and Output types.

Bus[i].Eq() and Strip[i].Eq() now return pointers to eQ structs.
This makes it easier to extend Eq types in future if desired.

Strip[i].Comp()  now return pointer to comp struct
Strip[i].Gain() now return pointer to gain struct
This is to support the new API features in Potato 3.0.2.8

Removed casting in factory function return statements.
Since types are satisfied implicitly.

eQ struct type tests added
2022-12-08 10:23:35 +00:00
onyx-and-iris
38973810d7 add variadic example in events section 2022-10-16 17:24:51 +01:00
onyx-and-iris
be6a49e3bc event Add() and Remove() now variadic.
in strip, vban, log warning then return zero value instead of panic.

update readme
2022-10-10 18:51:30 +01:00
onyx-and-iris
76ed3320d3 when parsing, notify of errors but do not exit
return scanner.err if not nil
2022-10-06 11:31:39 +01:00
onyx-and-iris
8f630d52e7 upd dep files for hotkeys, obs examples 2022-10-05 21:35:13 +01:00
onyx-and-iris
174db162c8 add verbosePrinter to vm-cli example
add info exit from interactive in README
2022-10-05 21:34:59 +01:00
onyx-and-iris
c7a265fb33 fix bug in togglecmd 2022-10-05 13:12:12 +01:00
onyx-and-iris
8bb8336599 interactive mode added to vm-cli example
toggle, get and set refactored into separate functions

flag vars moved from global  scope

-i flag added to README
2022-10-04 20:56:38 +01:00
onyx-and-iris
5b3f10c4b8 print bus level values in observer example 2022-10-04 20:18:48 +01:00
onyx-and-iris
7022c5dacf fix type error in getLevel 2022-10-04 20:18:26 +01:00
onyx-and-iris
5bb7eb9668 remove logrus from vm-cli 2022-09-29 19:04:32 +01:00
onyx-and-iris
5e5a82f198 upd -v flag description 2022-09-29 18:31:15 +01:00
onyx-and-iris
d8de82b90e add note to install in vm-cli 2022-09-29 18:27:26 +01:00
onyx-and-iris
5b4592f484 upd dep ver for obs, hotkeys examples 2022-09-29 18:25:23 +01:00
onyx-and-iris
b2dd96abc4 add install to vm-cli readme 2022-09-29 18:17:23 +01:00
onyx-and-iris
6605d6e62d set log level to info in examples
add verbose flag to vm-cli example

update readme for vm-cli example
2022-09-29 18:05:21 +01:00
onyx-and-iris
3ab5daa61c update install instructions in readme. 2022-09-29 18:04:13 +01:00
onyx-and-iris
0d06098af8 now using logrus package
logrus added to go.mod
2022-09-29 18:02:11 +01:00
onyx-and-iris
9df10d939d clean up installation in readme 2022-09-23 18:17:56 +01:00
onyx-and-iris
d82e6a39f5 fix package name in readme 2022-09-22 23:24:54 +01:00
onyx-and-iris
10d7cea523 Merge branch 'dev' of https://github.com/onyx-and-iris/voicemeeter-api-go into dev 2022-09-22 22:55:24 +01:00
onyx-and-iris
8a9b5f9a97 rename dir structure to match package name
update examples, readme
2022-09-22 22:55:08 +01:00
norm
8a611e39aa change func and var names 2022-09-21 07:30:14 +01:00
norm
ff56dd16f5 upd readme with new default delay 2022-09-19 03:05:02 +01:00
norm
440c3b8eec increae default delay to 20 2022-09-19 03:03:51 +01:00
onyx-and-iris
a5f653f569 add error message if config not found 2022-09-18 20:57:59 +01:00
onyx-and-iris
73893209a1 upd dependency ver 2022-09-18 05:53:08 +01:00
onyx-and-iris
303f1a871c md fix 2022-09-18 05:45:09 +01:00
onyx-and-iris
2c6baf20e4 vm-cli reworked.
now accepts -kind and -delay flags.

arg parsing moved into separate run_commands function.

README added to vm-cli example
2022-09-18 05:39:42 +01:00
onyx-and-iris
c05bf500ee obs example now reads conn info from toml.
vm, obs connect logic moved into separate functions.

README added for obs example.
2022-09-18 05:38:22 +01:00
onyx-and-iris
2533f1c162 refactor observer example.
newObserver factory method added
2022-09-18 05:37:10 +01:00
onyx-and-iris
21fb2ad597 refactor example in readme 2022-09-18 05:36:24 +01:00
onyx-and-iris
1284c92680 refactor hotkeys example. 2022-09-18 05:35:53 +01:00
onyx-and-iris
a87c11099c config.toml added to gitignore 2022-09-18 05:35:27 +01:00