mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-12-05 05:07:47 +00:00
eject
prelim test passes for potato 'Command.Eject'
This commit is contained in:
parent
d7cb1d610d
commit
8c3217b9a8
@ -34,6 +34,7 @@ AddActionMembers now adds ScriptMethods instead of ScriptProperties:
|
|||||||
- Recorder.Armedbus
|
- Recorder.Armedbus
|
||||||
- Recorder.PreRecTime
|
- Recorder.PreRecTime
|
||||||
- Recorder.Prefix($prefix)
|
- Recorder.Prefix($prefix)
|
||||||
|
- Recorder.Eject() references 'Command.Eject'
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|||||||
@ -543,6 +543,7 @@ The following methods are available:
|
|||||||
- Rew()
|
- Rew()
|
||||||
- Record()
|
- Record()
|
||||||
- Pause()
|
- Pause()
|
||||||
|
- Eject()
|
||||||
- Load($filepath): string
|
- Load($filepath): string
|
||||||
- GoTo($timestring): string, must match the format 'hh:mm:ss'
|
- GoTo($timestring): string, must match the format 'hh:mm:ss'
|
||||||
- FileType($format): string, ('wav', 'aiff', 'bwf', 'mp3')
|
- FileType($format): string, ('wav', 'aiff', 'bwf', 'mp3')
|
||||||
|
|||||||
@ -154,6 +154,10 @@ class Recorder : IRemote {
|
|||||||
[void] Prefix ([string]$prefix) {
|
[void] Prefix ([string]$prefix) {
|
||||||
$this.Setter('prefix', $prefix)
|
$this.Setter('prefix', $prefix)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[void] Eject () {
|
||||||
|
$this.remote.Setter('Command.Eject', 1)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class RecorderMode : IRemote {
|
class RecorderMode : IRemote {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user