mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-21 17:30:49 +00:00
test vban direction in apply()
This commit is contained in:
parent
d21b805882
commit
b207e7cc24
@ -218,7 +218,7 @@ module Voicemeeter
|
||||
case key.to_s.split("-")
|
||||
in [/strip|bus|button/ => kls, /^[0-9]+$/ => index]
|
||||
target = send(kls)
|
||||
in ["vban", String => dir, /^[0-9]+$/ => index]
|
||||
in ["vban", /in|instream|out|oustream/ => dir, /^[0-9]+$/ => index]
|
||||
target = vban.send("#{dir.chomp("stream")}stream")
|
||||
else
|
||||
raise KeyError, "invalid config key '#{key}'"
|
||||
|
Loading…
Reference in New Issue
Block a user