Attempt to resolve final warnings

This commit is contained in:
Zach Fox 2018-10-23 15:11:02 -07:00
parent 988bca201b
commit 8395132830
2 changed files with 8 additions and 8 deletions

View file

@ -186,11 +186,11 @@ AudioClient::AudioClient() :
_networkToOutputResampler(NULL), _localToOutputResampler(NULL),
_audioLimiter(AudioConstants::SAMPLE_RATE, OUTPUT_CHANNEL_COUNT), _outgoingAvatarAudioSequenceNumber(0),
_audioOutputIODevice(_localInjectorsStream, _receivedAudioStream, this), _stats(&_receivedAudioStream),
_positionGetter(DEFAULT_POSITION_GETTER), _TTSTimer(this),
_positionGetter(DEFAULT_POSITION_GETTER), _orientationGetter(DEFAULT_ORIENTATION_GETTER),
#if defined(Q_OS_ANDROID)
_checkInputTimer(this), _isHeadsetPluggedIn(false),
#endif
_orientationGetter(DEFAULT_ORIENTATION_GETTER) {
_TTSTimer(this) {
// avoid putting a lock in the device callback
assert(_localSamplesAvailable.is_lock_free());

View file

@ -293,12 +293,6 @@ private:
bool mixLocalAudioInjectors(float* mixBuffer);
float azimuthForSource(const glm::vec3& relativePosition);
float gainForSource(float distance, float volume);
Mutex _TTSMutex;
QTimer _TTSTimer;
bool _isProcessingTTS {false};
QByteArray _TTSAudioBuffer;
int _TTSChunkSize = AudioConstants::NETWORK_FRAME_SAMPLES_PER_CHANNEL * 50;
#ifdef Q_OS_ANDROID
QTimer _checkInputTimer;
@ -464,6 +458,12 @@ private:
QTimer* _checkPeakValuesTimer { nullptr };
bool _isRecording { false };
Mutex _TTSMutex;
bool _isProcessingTTS { false };
QByteArray _TTSAudioBuffer;
int _TTSChunkSize = AudioConstants::NETWORK_FRAME_SAMPLES_PER_CHANNEL * 50;
QTimer _TTSTimer;
};