mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-22 12:50:53 +00:00
changelog, readme updated to reflect changes
minor bump.
This commit is contained in:
parent
8ca545b1c4
commit
32780f11e4
@ -11,15 +11,17 @@ Before any major/minor/patch bump all unit tests will be run to verify they pass
|
|||||||
|
|
||||||
- [x]
|
- [x]
|
||||||
|
|
||||||
## [1.6.0] - 2022-09-14
|
## [1.7.0] - 2022-09-14
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
- voicemeeter.NewRemote now accepts a delay int argument (milliseconds).
|
||||||
- vm.Sync() can now be used to force the dirty parameters to clear.
|
- vm.Sync() can now be used to force the dirty parameters to clear.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- higher level methods/functions now accept/return float64
|
- higher level methods/functions now accept/return float64
|
||||||
|
- tests updated to reflect changes.
|
||||||
|
|
||||||
## [1.5.0] - 2022-09-07
|
## [1.5.0] - 2022-09-07
|
||||||
|
|
||||||
|
16
README.md
16
README.md
@ -42,8 +42,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
kindId := "banana"
|
vm, err := voicemeeter.NewRemote("banana", 15)
|
||||||
vm, err := voicemeeter.NewRemote(kindId)
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
@ -56,12 +55,13 @@ func main() {
|
|||||||
|
|
||||||
vm.Strip[0].SetLabel("rode podmic")
|
vm.Strip[0].SetLabel("rode podmic")
|
||||||
vm.Strip[0].SetMute(true)
|
vm.Strip[0].SetMute(true)
|
||||||
vm.Sync()
|
|
||||||
fmt.Printf("Strip 0 (%s) mute was set to %v\n", vm.Strip[0].GetLabel(), vm.Strip[0].GetMute())
|
fmt.Printf("Strip 0 (%s) mute was set to %v\n", vm.Strip[0].GetLabel(), vm.Strip[0].GetMute())
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## `kindId`
|
## `voicemeeter.NewRemote(<KindId>, <delay>)`
|
||||||
|
|
||||||
|
### `kindId`
|
||||||
|
|
||||||
Pass the kind of Voicemeeter as an argument. kindId may be:
|
Pass the kind of Voicemeeter as an argument. kindId may be:
|
||||||
|
|
||||||
@ -69,6 +69,12 @@ Pass the kind of Voicemeeter as an argument. kindId may be:
|
|||||||
- `banana`
|
- `banana`
|
||||||
- `potato`
|
- `potato`
|
||||||
|
|
||||||
|
### `delay`
|
||||||
|
|
||||||
|
Pass a delay in milliseconds to force the getters to wait for dirty parameters to clear.
|
||||||
|
|
||||||
|
Useful if not running callbacks.
|
||||||
|
|
||||||
## `Remote Type`
|
## `Remote Type`
|
||||||
|
|
||||||
#### `vm.Strip`
|
#### `vm.Strip`
|
||||||
@ -157,7 +163,7 @@ returns True iff a macrobutton parameter has changed
|
|||||||
|
|
||||||
#### `vm.Sync()`
|
#### `vm.Sync()`
|
||||||
|
|
||||||
Use this to force dirty parameters to clear before continuing. Useful for slowing down getters.
|
Use this to force dirty parameters to clear after a delay in milliseconds. Useful for slowing down getters.
|
||||||
|
|
||||||
## `Available commands`
|
## `Available commands`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user