diff options
author | Robert Adam <dev@robert-adam.de> | 2022-11-07 15:34:52 +0300 |
---|---|---|
committer | Robert Adam <dev@robert-adam.de> | 2022-11-07 15:34:52 +0300 |
commit | 9db091a99d7e2e1ac7d203972b4b4d57ee845135 (patch) | |
tree | 4b1322b80da24b62538fb75054673cc3a1e9020d /src/mumble | |
parent | bf4ad2bc72b5a8a5d4e2c610dbae1fdfcb3a1bc3 (diff) |
BUILD(cmake): Fix build without RNNoise
Diffstat (limited to 'src/mumble')
-rw-r--r-- | src/mumble/JSONSerialization.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mumble/JSONSerialization.cpp b/src/mumble/JSONSerialization.cpp index cd24c483f..f377e3ab8 100644 --- a/src/mumble/JSONSerialization.cpp +++ b/src/mumble/JSONSerialization.cpp @@ -213,9 +213,9 @@ void from_json(const nlohmann::json &j, Settings &settings) { } #ifndef USE_RNNOISE - if (settings.noiseCancelMode == NoiseCancelRNN || settings.noiseCancelMode == NoiseCancelBoth) { + if (settings.noiseCancelMode == Settings::NoiseCancelRNN || settings.noiseCancelMode == Settings::NoiseCancelBoth) { // Use Speex instead as this Mumble build was built without support for RNNoise - settings.noiseCancelMode = NoiseCancelSpeex; + settings.noiseCancelMode = Settings::NoiseCancelSpeex; } #endif } |