Skip to content

Instantly share code, notes, and snippets.

@L1fescape
Created September 17, 2015 16:31
Show Gist options
  • Save L1fescape/2ae5e5b4cf051e7aeaa8 to your computer and use it in GitHub Desktop.
Save L1fescape/2ae5e5b4cf051e7aeaa8 to your computer and use it in GitHub Desktop.
Bat file for starting Virtual Audio Cable with my settings
start "audiorepeater" "%programfiles%\Virtual Audio Cable\audiorepeater.exe" /Input: "Line 3 (Virtual Audio Cable)" /Output: "Line 1 (Virtual Audio Cable)" /BufferMs:100 /SamplingRate:96000 /Priority:high /Autostart
start "audiorepeater" "%programfiles%\Virtual Audio Cable\audiorepeater.exe" /Input: "Microphone (Realtek High Defini" /Output: "Line 1 (Virtual Audio Cable)" /BufferMs:100 /SamplingRate:96000 /Priority:high /Autostart
start "audiorepeater" "%programfiles%\Virtual Audio Cable\audiorepeater.exe" /Input: "Line 3 (Virtual Audio Cable)" /Output: "Speakers (Realtek High Definiti" /BufferMs:100 /SamplingRate:96000 /Priority:high /Autostart
@ThorisoMa1
Copy link

Sorry it has been sorted , if the Device name is the same and the length end up being bigger than 30 then a method to get around this is to actually just rename the device to something shorter which kills the length problem .

e.g
start /min "audiorepeater_ks" "C:\Program Files\Virtual Audio Cable\audiorepeater.exe" /Input:"Line 1 (Virtual Audio Cable)" /Output: "speak (speak)" /SamplingRate:88200 /BufferMs:150 /Buffers:15 /autostart

start /min "audiorepeater_ks" "C:\Program Files\Virtual Audio Cable\audiorepeater.exe" /Input:"Line 1 (Virtual Audio Cable)" /Output: "speak2 (2- speak )" /SamplingRate:88200 /BufferMs:150 /Buffers:15 /autostart

@ThorisoMa1
Copy link

Is there a way to perhaps use a batch file to read what devices are available for the audio repeater outputs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment