mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-04-08 00:53:30 +00:00
added gain param
Added gain param for strip/bus. Getter now returns type single instead of int.
This commit is contained in:
@@ -62,15 +62,18 @@ Function Buttons {
|
||||
|
||||
if ($MyInvocation.InvocationName -ne '.')
|
||||
{
|
||||
. .\voicemeeter.ps1
|
||||
|
||||
Login
|
||||
$vmr = [Remote]::new('potato')
|
||||
|
||||
$button = Buttons
|
||||
$vmr.Login()
|
||||
|
||||
$button[0].state = 1
|
||||
$button[0].state
|
||||
$button[0].state = 0
|
||||
$button[0].state
|
||||
$vmr.button = Buttons
|
||||
|
||||
Logout
|
||||
$vmr.button[0].state = 1
|
||||
$vmr.button[0].state
|
||||
$vmr.button[0].state = 0
|
||||
$vmr.button[0].state
|
||||
|
||||
$vmr.Logout()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user