mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-22 01:40:49 +00:00
remove unnecessary assignments
This commit is contained in:
parent
eaa9436081
commit
73fc0dc243
@ -13,8 +13,7 @@ module Voicemeeter
|
|||||||
attr_reader :eq, :mode, :levels
|
attr_reader :eq, :mode, :levels
|
||||||
|
|
||||||
def self.make(remote, i)
|
def self.make(remote, i)
|
||||||
p_out = remote.kind.phys_out
|
(i < remote.kind.phys_out) ? PhysicalBus.new(remote, i) : VirtualBus.new(remote, i)
|
||||||
(i < p_out) ? PhysicalBus.new(remote, i) : VirtualBus.new(remote, i)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def initialize(remote, i)
|
def initialize(remote, i)
|
||||||
|
@ -13,8 +13,7 @@ module Voicemeeter
|
|||||||
attr_reader :gainlayer, :levels
|
attr_reader :gainlayer, :levels
|
||||||
|
|
||||||
def self.make(remote, i)
|
def self.make(remote, i)
|
||||||
p_in = remote.kind.phys_in
|
(i < remote.kind.phys_in) ? PhysicalStrip.new(remote, i) : VirtualStrip.new(remote, i)
|
||||||
(i < p_in) ? PhysicalStrip.new(remote, i) : VirtualStrip.new(remote, i)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def initialize(remote, i)
|
def initialize(remote, i)
|
||||||
|
Loading…
Reference in New Issue
Block a user