mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-22 09:50:49 +00:00
added alias methods for VirtualStrip
This commit is contained in:
parent
8ca656e321
commit
9dfda173da
@ -142,7 +142,7 @@ module Voicemeeter
|
|||||||
def initialize(remote, i)
|
def initialize(remote, i)
|
||||||
super
|
super
|
||||||
make_accessor_bool :mc
|
make_accessor_bool :mc
|
||||||
make_accessor_int :k
|
make_accessor_int :karaoke
|
||||||
end
|
end
|
||||||
|
|
||||||
def bass
|
def bass
|
||||||
@ -168,6 +168,15 @@ module Voicemeeter
|
|||||||
def treble=(val)
|
def treble=(val)
|
||||||
setter("EQGain3", val)
|
setter("EQGain3", val)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
alias_method :mono, :mc
|
||||||
|
alias_method :mono=, :mc=
|
||||||
|
alias_method :k, :karaoke
|
||||||
|
alias_method :k=, :karaoke=
|
||||||
|
alias_method :med, :mid
|
||||||
|
alias_method :med=, :mid=
|
||||||
|
alias_method :high, :treble
|
||||||
|
alias_method :high=, :treble=
|
||||||
end
|
end
|
||||||
|
|
||||||
class GainLayer < IRemote
|
class GainLayer < IRemote
|
||||||
|
Loading…
Reference in New Issue
Block a user