From e586478729b38df16a21fe208832e0b2d2919ca9 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Mon, 1 Jul 2024 07:23:40 +0100 Subject: [PATCH] fix WithTimeout name in README move it above WithBits --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index cfaceb5..e58d0c3 100644 --- a/README.md +++ b/README.md @@ -81,18 +81,18 @@ Pass a delay in milliseconds to force the getters to wait for dirty parameters t Useful if not listening for event updates. +### `voicemeeter.WithTimeout(timeout int)` + +Set a login timeout, defaults to 2 seconds. For example to set it to 1s: + +`voicemeeter.NewRemote("banana", 20, voicemeeter.WithTimeout(1))` + ### `voicemeeter.WithBits(bits int)` Override the type of Voicemeeter GUI to launch on 64 bit systems. For example, to force 32 bit GUI: `voicemeeter.NewRemote("banana", 20, voicemeeter.WithBits(32))` -### `voicemeeter.WithBits(timeout int)` - -Set a login timeout, defaults to 2 seconds. For example to set it to 1s: - -`voicemeeter.NewRemote("banana", 20, voicemeeter.WithBits(1))` - ## `Remote Type` #### `vm.Strip`