This commit is contained in:
onyx-and-iris 2023-07-15 00:16:10 +01:00
parent 241f8bc72f
commit 3c59c5d41c

View File

@ -168,7 +168,7 @@ module Voicemeeter
end end
def get_device_description(index, dir) def get_device_description(index, dir)
unless %i[in out].include > dir unless %i[in out].include? dir
raise VMError.new("dir got: #{dir}, expected in or out") raise VMError.new("dir got: #{dir}, expected in or out")
end end
ctype = FFI::MemoryPointer.new(:long, 1) ctype = FFI::MemoryPointer.new(:long, 1)