Releases: mdonoughe/sbz-switch
v4.1.0: AE-5
v4.0.0 New futures
This version uses futures crate 0.3. The command line should behave exactly the same as before, but the library should be compatible with async+await.
v3.1.1 fix for deadlock
This version fixes a bug that came with 3.1.0 which could lead to hangs when using the API to monitor for changes. If you don't know what that means then you probably don't need this update.
v3.1.0 `watch_with_volume`
This release adds support for other programs to observe changes to both the Creative-specific settings and the volume at the same time on the same thread. There's no reason to download this version if you're already using 3.0.0.
v3.0.0 API improvements and file formats
This release changes the -f
parameter to be the format of the input/output. The input file for the apply
command is now specified using -i
.
API Improvements
The motivation of this release was to improve the developer experience for consuming the library portion of sbz-switch. Consuming software no longer needs to be COM aware, the APIs are documented (available on docs.rs), and it is possible to specify parameters in the order they should be applied.
File Formats
The TOML format is handled using alexcrichton/toml-rs which does not support maintaining the order of table entries until the next release, so in order to support specifying parameters in order it is now possible to use JSON or YAML by specifying -f json
or -f yaml
.
Also, this may help with scripting, for example in PowerShell: sbz-switch dump -f json | ConvertFrom-Json | …
, … | ConvertTo-Json | sbz-switch apply -f
.
v2.0.0: support specifying the device ID
Added
- It is now possible to specify a device ID, allowing Sound Blaster settings to change even when another device is marked as default. As a result, the API methods now have an additional parameter for providing the device ID.
v1.1.0
v1.0.0
This release completely changes the command line syntax.
Added
- Dump command to show or save current configuration.
- Apply command to restore a saved configuration.
Changed
- Previous functionality for switching the output device has changed significantly.
sbz-switch --speakers 3003 --volume 60
becomessbz-switch set -i "Processing Control" SpeakerConfig 12291 --volume 60
(3003 was a hex value and 12291 is decimal), however it seems-i "Device Control" SelectOutput 1
is a better way of doing the same thing. See README.md for more information about the new syntax.
First release
This is the first release. It supports setting the speaker configuration and volume by command line arguments.