gainlayer, busmodes + mc,k added

gainlayers and busmodes added.

mc, k added to virtual strips
This commit is contained in:
onyx-and-iris
2022-03-08 22:55:11 +00:00
parent cea6d500dd
commit 15bec82ec4
3 changed files with 51 additions and 5 deletions

View File

@@ -11,6 +11,9 @@ class Bus {
AddBoolMembers -PARAMS @('mono', 'mute')
AddStringMembers -PARAMS @('label')
AddFloatMembers -PARAMS @('gain')
AddBusModeMembers -PARAMS @('normal', 'amix', 'bmix', 'repeat', 'composite', 'tvmix', 'upmix21',
'upmix41', 'upmix61', 'centeronly', 'lfeonly', 'rearonly')
}
[Single] Getter($cmd) {
@@ -31,13 +34,23 @@ class Bus {
hidden $_eq = $($this | Add-Member ScriptProperty 'eq' `
{
$this.Getter($this.cmd('EQ.on'))
[bool]$this.Getter($this.cmd('EQ.on'))
}`
{
param ( $arg )
$this._eq = $this.Setter($this.cmd('EQ.on'), $arg)
}
)
hidden $_eq_ab = $($this | Add-Member ScriptProperty 'eq_ab' `
{
[bool]$this.Getter($this.cmd('eq.ab'))
}`
{
param ( $arg )
$this._eq = $this.Setter($this.cmd('eq.ab'), $arg)
}
)
}
class PhysicalBus : Bus {