mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-15 15:00:46 +00:00
added whitespace
This commit is contained in:
parent
8d2cc774ac
commit
f594f2a9a0
@ -3,16 +3,20 @@ require_relative "../../lib/voicemeeter"
|
||||
class Main
|
||||
def initialize(vm)
|
||||
@vm = vm
|
||||
|
||||
@vm.on :pdirty do
|
||||
puts "pdirty"
|
||||
end
|
||||
|
||||
@vm.on :mdirty do
|
||||
puts "mdirty"
|
||||
end
|
||||
|
||||
@vm.on :midi do
|
||||
current = @vm.midi.current
|
||||
puts "Value of midi input #{current}: #{@vm.midi.get(current)}"
|
||||
end
|
||||
|
||||
@vm.on :ldirty do
|
||||
@vm.bus.each do |bus|
|
||||
puts "#{bus} #{bus.levels.all.join(" ")}" if bus.levels.isdirty?
|
||||
|
@ -5,6 +5,7 @@ class Main
|
||||
|
||||
def initialize(vm)
|
||||
@vm = vm
|
||||
|
||||
@vm.on :midi do
|
||||
current = @vm.midi.current
|
||||
handler(current, @vm.midi.get(current))
|
||||
|
Loading…
Reference in New Issue
Block a user