From ba64d8fd4accc136c5a0e0188913262aefcd3817 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 20 Jul 2023 09:50:31 +0100 Subject: [PATCH] observer alias for callback added --- lib/voicemeeter/base.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/voicemeeter/base.rb b/lib/voicemeeter/base.rb index 6162b0f..7350121 100644 --- a/lib/voicemeeter/base.rb +++ b/lib/voicemeeter/base.rb @@ -16,6 +16,7 @@ module Voicemeeter attr_reader :kind, :midi, :event, :running, :callback, :delay attr_accessor :cache + alias_method :observer, :callback RATELIMIT = 0.033 DELAY = 0.001