mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-04-18 05:23:32 +00:00
Get(), Set($device), Clear()
methods added to IODevice manual and pester tests pass for all kinds
This commit is contained in:
@@ -106,6 +106,14 @@ class BusDevice : IODevice {
|
||||
[string] identifier () {
|
||||
return 'Bus[' + $this.index + '].Device'
|
||||
}
|
||||
|
||||
[int] EnumCount () {
|
||||
return $this.remote.GetOutputCount()
|
||||
}
|
||||
|
||||
[PSObject] EnumDevice ([int]$eIndex) {
|
||||
return $this.remote.GetOutputDevice($eIndex)
|
||||
}
|
||||
}
|
||||
|
||||
function Make_Buses ([Object]$remote) {
|
||||
|
||||
Reference in New Issue
Block a user