mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-22 01:40:49 +00:00
use numbered parameter in _get_levels
This commit is contained in:
parent
1e694b21aa
commit
89a9d4947c
@ -147,11 +147,10 @@ module Voicemeeter
|
|||||||
end
|
end
|
||||||
|
|
||||||
private def _get_levels
|
private def _get_levels
|
||||||
|
strip_mode = cache[:strip_mode]
|
||||||
[
|
[
|
||||||
(0...kind.num_strip_levels).map do |i|
|
(0...kind.num_strip_levels).map { get_level(strip_mode, _1) },
|
||||||
get_level(cache[:strip_mode], i)
|
(0...kind.num_bus_levels).map { get_level(3, _1) }
|
||||||
end,
|
|
||||||
(0...kind.num_bus_levels).map { |i| get_level(3, i) }
|
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user