add Load method to Command class.

fixes #3
This commit is contained in:
W904yl40JykXAzmA 2022-12-14 19:37:11 +00:00
parent 1d115f4132
commit 5229df81ad
3 changed files with 14 additions and 5 deletions

View File

@ -9,7 +9,8 @@ Before any major/minor/patch is released all test units will be run to verify th
## [Unreleased] These changes have not been added to PSGallery yet
- [ ]
- [x] Implement command.load
- [ ] Implement comp/gate parameters introduced in v3.0.2.8 of api.
## [2.5.0] - 2022-10-27

View File

@ -8,9 +8,9 @@ For past/future changes to this project refer to: [CHANGELOG](CHANGELOG.md)
## Tested against
- Basic 1.0.8.4
- Banana 2.0.6.4
- Potato 3.0.2.4
- Basic 1.0.8.8
- Banana 2.0.6.8
- Potato 3.0.2.8
## Requirements
@ -238,6 +238,7 @@ The following methods are available:
- hide
- restart
- shutdown
- Load(<filepath>)
The following properties are write only and accept boolean values:
@ -250,6 +251,9 @@ example:
$vmr.command.show
$vmr.command.lock = $true
$vmr.command.Load("<path/to/filename.xml>")
```
### Recorder
@ -362,4 +366,4 @@ Run tests from repository root in a subshell and write logs, like so:
### Official Documentation
- [Voicemeeter Remote C API](https://github.com/onyx-and-iris/Voicemeeter-SDK/blob/main/VoicemeeterRemoteAPI.pdf)
- [Voicemeeter Remote C API](https://github.com/onyx-and-iris/Voicemeeter-SDK/blob/update-docs/VoicemeeterRemoteAPI.pdf)

View File

@ -53,6 +53,10 @@ class Special {
$this._lock = $this.Setter($this.cmd('lock'), $arg)
}
)
[void] Load ([string]$filename) {
$this.Setter($this.cmd('load'), $filename)
}
}
function Make_Command {