Skip to content

Commit

Permalink
Fix defaultProvider config value for Google Cloud (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkusa authored Oct 19, 2023
1 parent db2b21d commit bf3d9e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed `MarkAddEvent`, `MarkChangeEvent` and `MarkRemoveEvent` position
- Fixed crash of concurrent Windows TTS synthesis ([#223](https://github.com/DCS-gRPC/rust-server/issues/223))
- Fixed file handler left open: Closing config file again after reading it in LUA
- Fixed the config value for `tts.defaultProvider` for Google Cloud to be lowercase `gcloud` (instead of `gCloud`)

## [0.7.1] - 2023-01-08

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ tts.provider.aws.region = "eu-central-1"
-- The default AWS voice to use (see https://docs.aws.amazon.com/polly/latest/dg/voicelist.html).
tts.provider.aws.defaultVoice = "Brian"

-- Your Google Cloudd access key.
-- Your Google Cloud access key.
tts.provider.gcloud.key = "..."

-- The default Google Cloud voice to use (see https://cloud.google.com/text-to-speech/docs/voices).
Expand Down
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub struct TtsProviderConfig {
}

#[derive(Debug, Clone, Default, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
#[serde(rename_all = "lowercase")]
pub enum TtsProvider {
Aws,
Azure,
Expand Down

0 comments on commit bf3d9e1

Please sign in to comment.