mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-15 17:40:51 +00:00
add variadic example in events section
This commit is contained in:
parent
be6a49e3bc
commit
38973810d7
@ -481,9 +481,11 @@ By default level updates are disabled. Any event may be enabled or disabled. The
|
||||
example:
|
||||
|
||||
```go
|
||||
vm.EventAdd("ldirty")
|
||||
events := []string{"ldirty", "mdirty", "pdirty"}
|
||||
|
||||
vm.EventRemove("pdirty")
|
||||
vm.EventAdd(events...)
|
||||
|
||||
vm.EventRemove(events...)
|
||||
```
|
||||
|
||||
### Run tests
|
||||
|
Loading…
Reference in New Issue
Block a user