mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-21 17:30: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
|
||||
|
||||
def self.make(remote, i)
|
||||
p_out = remote.kind.phys_out
|
||||
(i < p_out) ? PhysicalBus.new(remote, i) : VirtualBus.new(remote, i)
|
||||
(i < remote.kind.phys_out) ? PhysicalBus.new(remote, i) : VirtualBus.new(remote, i)
|
||||
end
|
||||
|
||||
def initialize(remote, i)
|
||||
|
@ -13,8 +13,7 @@ module Voicemeeter
|
||||
attr_reader :gainlayer, :levels
|
||||
|
||||
def self.make(remote, i)
|
||||
p_in = remote.kind.phys_in
|
||||
(i < p_in) ? PhysicalStrip.new(remote, i) : VirtualStrip.new(remote, i)
|
||||
(i < remote.kind.phys_in) ? PhysicalStrip.new(remote, i) : VirtualStrip.new(remote, i)
|
||||
end
|
||||
|
||||
def initialize(remote, i)
|
||||
|
Loading…
Reference in New Issue
Block a user