mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2026-04-17 08:33:31 +00:00
event type passed as symbol to on_update callback
This commit is contained in:
@@ -14,7 +14,7 @@ class Main
|
||||
end
|
||||
|
||||
def on_update(event)
|
||||
if event == "midi"
|
||||
if event == :midi
|
||||
current = @vm.midi.current
|
||||
midi_handler(current, @vm.midi.get(current))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user