Skip to content

Commit

Permalink
use released sbzswitch
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonoughe committed Feb 18, 2019
1 parent ca2c28a commit 6f63f4a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [v0.1.0-preview1] - 2019-02-17
### Added
- Settings are now saved to disk so they can be remembered across reboots.

## v0.1.0-preview0 - 2019-01-15
### Added
- Button for switching between headphones and speakers.

[Unreleased]: https://github.com/mdonoughe/streamdeck-rs/commits
[Unreleased]: https://github.com/mdonoughe/sbz-switch/compare/v0.1.0-preview1...HEAD
[v0.1.0-preview1]: https://github.com/mdonoughe/sbz-switch/compare/v0.1.0-preview0...v0.1.0-preview1
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ travis-ci = { repository = "mdonoughe/sbzdeck" }
[dependencies]
futures = "0.1.25"
indexmap = "1.0"
sbz-switch = { version = "3.0", git = "https://github.com/mdonoughe/sbz-switch" }
sbz-switch = "3.1"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ It is also possible to create a Stream Deck "multi action" which uses the plugin

## Configuration

Currently, the only way to configure the plugin is by editing the `sbzdeck.json` file found in the `%APPDATA%\Elgato\StreamDeck\Plugins\io.github.mdonoughe.sbzdeck.sdPlugin` directory after installing the plugin, and then restarting the Stream Deck software.
Currently, the only way to configure the plugin is by stopping the Stream Deck software, editing the `sbzdeck.json` file found in the `%APPDATA%\Elgato\StreamDeck\Plugins\io.github.mdonoughe.sbzdeck.sdPlugin` directory, and then restarting the Stream Deck software. If you try to edit the configuration while the Stream Deck software is running your settings may be overwritten.

### `profiles`

The profiles section contains the settings that are applied when switching between headphones and speakers.

These are only the defaults values, and they are overwritten right before switching to the other output. For example, if the JSON file says the speaker volume should be 0.5, but you've adjusted the volume to 0.6, switching to headphones and then back to speakers will set the volume back to 0.6, not 0.5.

The parameters subsection contains the Sound Blaster settings. You can use the [sbz-switch](https://github.com/mdonoughe/sbz-switch/) dump command to find settings you want. Note that setting these values here sets the default values, but the settings will not be applied unless the parameter is selected in the `selected_parameters` section, because the idea is that this section is supposed to be constantly updated by the plugin to contain all the settings (not implemented).
The parameters subsection contains the Sound Blaster settings. Note that setting these values here sets the default values, but the settings will not be applied unless the parameter is selected in the `selected_parameters` section, because this section is constantly updated by the plugin to contain all of the active settings.

### `selected_parameters`

Expand Down

0 comments on commit 6f63f4a

Please sign in to comment.