mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-04-18 13:33:31 +00:00
add device enumeration
bindings, base functions, and Remote methods implemented initial manual tests for potato pass
This commit is contained in:
@@ -75,6 +75,22 @@ class Remote {
|
||||
[void] PDirty() { P_Dirty }
|
||||
|
||||
[void] MDirty() { M_Dirty }
|
||||
|
||||
[int] GetOutputCount() {
|
||||
return Device_Count -IS_OUT $true
|
||||
}
|
||||
|
||||
[int] GetInputCount() {
|
||||
return Device_Count
|
||||
}
|
||||
|
||||
[PSObject] GetOutputDevice([int]$index) {
|
||||
return Device_Desc -INDEX $index -IS_OUT $true
|
||||
}
|
||||
|
||||
[PSObject] GetInputDevice([int]$index) {
|
||||
return Device_Desc -INDEX $index
|
||||
}
|
||||
}
|
||||
|
||||
class RemoteBasic : Remote {
|
||||
|
||||
Reference in New Issue
Block a user