Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mumble/TextToSpeech_unix.cpp')
-rw-r--r--src/mumble/TextToSpeech_unix.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mumble/TextToSpeech_unix.cpp b/src/mumble/TextToSpeech_unix.cpp
index bce35592c..575e87efd 100644
--- a/src/mumble/TextToSpeech_unix.cpp
+++ b/src/mumble/TextToSpeech_unix.cpp
@@ -39,13 +39,13 @@ class TextToSpeechPrivate {
TextToSpeechPrivate::TextToSpeechPrivate() {
initialized = false;
volume = -1;
- spd = NULL;
+ spd = nullptr;
}
TextToSpeechPrivate::~TextToSpeechPrivate() {
if (spd) {
spd_close(spd);
- spd = NULL;
+ spd = nullptr;
}
}
@@ -54,7 +54,7 @@ void TextToSpeechPrivate::ensureInitialized() {
return;
}
- spd = spd_open("Mumble", NULL, NULL, SPD_MODE_THREADED);
+ spd = spd_open("Mumble", nullptr, nullptr, SPD_MODE_THREADED);
if (! spd) {
qWarning("TextToSpeech: Failed to contact speech dispatcher.");
} else {