Skip to content

Commit da27c21

Browse files
committed
missing ifndef
1 parent f7054fe commit da27c21

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

code/sound/fsspeech.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ static bool ttsvoice_change(const std::pair<int, SCP_string>& new_voice, bool in
156156
}
157157
speech_set_voice(new_voice.first);
158158
// Re-apply volume and rate, it is needed on Mac and maybe on other OS as well
159+
#ifndef __ANDROID__
159160
speech_set_volume((unsigned short)SpeechVolumeOption->getValue());
161+
#endif
160162
speech_set_rate(SpeechRateOption->getValue());
161163
return true;
162164
}

0 commit comments

Comments
 (0)