upd minor ver in readme

This commit is contained in:
onyx-and-iris 2022-07-01 01:41:43 +01:00
parent ef5623f1c6
commit 6148d45b76

View File

@ -21,7 +21,7 @@ For an outline of past/future changes refer to: [CHANGELOG](CHANGELOG.md)
Add to your `go.mod` file: Add to your `go.mod` file:
`require github.com/onyx-and-iris/voicemeeter-api-go v1.0.0` `require github.com/onyx-and-iris/voicemeeter-api-go v1.0.2`
Install voicemeeter-api-go package from your console Install voicemeeter-api-go package from your console
@ -54,7 +54,6 @@ func main() {
} }
``` ```
## `kindId` ## `kindId`
Pass the kind of Voicemeeter as an argument. kindId may be: Pass the kind of Voicemeeter as an argument. kindId may be:
@ -64,34 +63,61 @@ Pass the kind of Voicemeeter as an argument. kindId may be:
- `potato` - `potato`
## `Remote Type` ## `Remote Type`
#### `vmRem.Strip` #### `vmRem.Strip`
[]t_strip slice containing both physicalStrip and virtualStrip types []t_strip slice containing both physicalStrip and virtualStrip types
#### `vmRem.Bus` #### `vmRem.Bus`
[]t_bus slice containing both physicalBus and virtualBus types []t_bus slice containing both physicalBus and virtualBus types
#### `vmRem.Button` #### `vmRem.Button`
[]button slice containing button types, one for each macrobutton []button slice containing button types, one for each macrobutton
#### `vmRem.Command` #### `vmRem.Command`
pointer to command type, represents action type functions pointer to command type, represents action type functions
#### `vmRem.Vban` #### `vmRem.Vban`
pointer to vban type, containing both vbanInStream and vbanOutStream slices pointer to vban type, containing both vbanInStream and vbanOutStream slices
#### `vmRem.Device` #### `vmRem.Device`
pointer to device type, represents physical input/output hardware devices pointer to device type, represents physical input/output hardware devices
#### `vmRem.Recorder` #### `vmRem.Recorder`
pointer to recorder type, represents the recorder pointer to recorder type, represents the recorder
#### `vmRem.Type()` #### `vmRem.Type()`
returns the type of Voicemeeter as a string returns the type of Voicemeeter as a string
#### `vmRem.Version()` #### `vmRem.Version()`
returns the version of Voicemeeter as a string returns the version of Voicemeeter as a string
#### `vmRem.SendText(<script>)` #### `vmRem.SendText(<script>)`
sets many parameters in script format eg. ("Strip[0].Mute=1;Bus[3].Gain=3.6") sets many parameters in script format eg. ("Strip[0].Mute=1;Bus[3].Gain=3.6")
#### `vmRem.Register(o observer)` #### `vmRem.Register(o observer)`
register an object as an observer register an object as an observer
#### `vmRem.Deregister(o observer)` #### `vmRem.Deregister(o observer)`
deregister an object as an observer deregister an object as an observer
#### `vmRem.Pdirty()` #### `vmRem.Pdirty()`
returns True iff a GUI parameter has changed returns True iff a GUI parameter has changed
#### `vmRem.Mdirty()` #### `vmRem.Mdirty()`
returns True iff a macrobutton paramter has changed returns True iff a macrobutton paramter has changed
## `Available commands` ## `Available commands`