diff --git a/README.md b/README.md index 87c53ce..e39093b 100644 --- a/README.md +++ b/README.md @@ -48,15 +48,15 @@ import ( func main() { kindId := "banana" - vmRem := voicemeeter.NewRemote(kindId) + vm := voicemeeter.NewRemote(kindId) - vmRem.Login() + vm.Login() - vmRem.Strip[0].SetLabel("rode podmic") - vmRem.Strip[0].SetMute(true) - fmt.Printf("Strip 0 (%s) mute was set to %v\n", vmRem.Strip[0].GetLabel(), vmRem.Strip[0].GetMute()) + vm.Strip[0].SetLabel("rode podmic") + vm.Strip[0].SetMute(true) + fmt.Printf("Strip 0 (%s) mute was set to %v\n", vm.Strip[0].GetLabel(), vm.Strip[0].GetMute()) - vmRem.Logout() + vm.Logout() } ``` @@ -70,59 +70,59 @@ Pass the kind of Voicemeeter as an argument. kindId may be: ## `Remote Type` -#### `vmRem.Strip` +#### `vm.Strip` []t_strip slice containing both physicalStrip and virtualStrip types -#### `vmRem.Bus` +#### `vm.Bus` []t_bus slice containing both physicalBus and virtualBus types -#### `vmRem.Button` +#### `vm.Button` []button slice containing button types, one for each macrobutton -#### `vmRem.Command` +#### `vm.Command` pointer to command type, represents action type functions -#### `vmRem.Vban` +#### `vm.Vban` pointer to vban type, containing both vbanInStream and vbanOutStream slices -#### `vmRem.Device` +#### `vm.Device` pointer to device type, represents physical input/output hardware devices -#### `vmRem.Recorder` +#### `vm.Recorder` pointer to recorder type, represents the recorder -#### `vmRem.Type()` +#### `vm.Type()` returns the type of Voicemeeter as a string -#### `vmRem.Version()` +#### `vm.Version()` returns the version of Voicemeeter as a string -#### `vmRem.SendText(