voicemeeter-api-powershell/lib/kinds.ps1
onyx-and-iris 62c65e1c08 xy and fx parameters added to strip/bus classes.
GetType, GetVersion, SendText added to Remote class.

Console output now written to Debug stream.

ToString() method overriden for higher classes.

formatter run through all files.
2022-10-27 21:20:03 +01:00

34 lines
658 B
PowerShell

$KindMap = @{
"basic" = @{
"name" = "basic"
"p_in" = 2
"v_in" = 1
"p_out" = 1
"v_out" = 1
"vban_in" = 4
"vban_out" = 4
};
"banana" = @{
"name" = "banana"
"p_in" = 3
"v_in" = 2
"p_out" = 3
"v_out" = 2
"vban_in" = 8
"vban_out" = 8
};
"potato" = @{
"name" = "potato"
"p_in" = 5
"v_in" = 3
"p_out" = 5
"v_out" = 3
"vban_in" = 8
"vban_out" = 8
};
}
function GetKind ([string]$kind_id) {
$KindMap[$kind_id]
}