mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2025-01-18 05:10:48 +00:00
update changelog, readme
update changelog and readme to reflect recent changes
This commit is contained in:
parent
a4b7f66984
commit
0d23b4eac3
19
CHANGELOG.md
19
CHANGELOG.md
@ -7,11 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
Before any minor/major patch is released all test units will be run to verify they pass.
|
Before any minor/major patch is released all test units will be run to verify they pass.
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
- [x] Add VMRemoteErrors class and subclass other error classes.
|
- [x]
|
||||||
- [x] Rework set many parameters so class properties are set through the wrapper instead by VBVMR_SetParameters
|
|
||||||
- [x] Expose lower level setters and getters as well as polling parameters through Remote class.
|
## [2.2] - 2021-01-19
|
||||||
- [x] Add throw LoginError if multiple login attempts are made.
|
### Added
|
||||||
- [x] Update pester tests to reflect latest changes
|
- Add VMRemoteErrors class and subclass other error classes.
|
||||||
|
- Expose lower level setters and getters as well as polling parameters through Remote class.
|
||||||
|
- README and CHANGELOG updated to reflect latest changes.
|
||||||
|
- Version 2.2 added to PSGAllery
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Rework set many parameters so class properties are set through the wrapper instead by VBVMR_SetParameters
|
||||||
|
- Rework meta module. Separate functions for each member type.
|
||||||
|
- Update pester tests to reflect latest changes
|
||||||
|
- Add throw LoginError if multiple login attempts are made. In testing the session was still crashing, however.
|
||||||
|
|
||||||
## [2.1] - 2021-01-11
|
## [2.1] - 2021-01-11
|
||||||
### Added
|
### Added
|
||||||
|
18
README.md
18
README.md
@ -172,6 +172,24 @@ try {
|
|||||||
finally { $vmr.Logout() }
|
finally { $vmr.Logout() }
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Remote class
|
||||||
|
Access to lower level Getters and Setters are provided with these functions:
|
||||||
|
- `$vmr.Getter(param)`: For getting the value of a parameter expected to return a value other than string.
|
||||||
|
- `$vmr.Getter_String(param)`: For getting the value of any parameter expected to return a string.
|
||||||
|
- `$vmr.Setter(param, value)`: For setting the value of any parameter.
|
||||||
|
|
||||||
|
Access to lower level polling functions are provided with these functions:
|
||||||
|
- `$vmr.PDirty`: Returns true if a parameter has been updated.
|
||||||
|
- `$vmr.MDirty`: Returns true if a macrobutton has been updated.
|
||||||
|
|
||||||
|
example:
|
||||||
|
```powershell
|
||||||
|
$vmr.Getter('Strip[2].Mute')
|
||||||
|
$vmr.Getter_String('Bus[1].Label')
|
||||||
|
$vmr.Setter('Strip[4].Label', 'stripname')
|
||||||
|
$vmr.Setter('Strip[0].Gain', -3.6)
|
||||||
|
```
|
||||||
|
|
||||||
### Run tests
|
### Run tests
|
||||||
Run tests using .\runall.ps1 which accepts two parameters:
|
Run tests using .\runall.ps1 which accepts two parameters:
|
||||||
- tag Run tests of this type
|
- tag Run tests of this type
|
||||||
|
Loading…
Reference in New Issue
Block a user