mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 20:34:07 +02:00
Attempt to resolve final warnings
This commit is contained in:
parent
988bca201b
commit
8395132830
2 changed files with 8 additions and 8 deletions
|
@ -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());
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue