remove unnecessary assignments

This commit is contained in:
onyx-and-iris 2023-07-29 18:06:34 +01:00
parent eaa9436081
commit 73fc0dc243
2 changed files with 2 additions and 4 deletions

View File

@ -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)

View File

@ -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)