Convert m_micProximitySensorCanMute to new settings API

The `saveAudioSettings()` function lead to an infinite loop of
saving.
This commit is contained in:
Vasily
2019-12-10 08:28:41 +01:00
committed by username223
parent fd43c66878
commit c96b531ee1
2 changed files with 8 additions and 20 deletions
-2
View File
@@ -71,7 +71,6 @@ private:
int m_recordingDeviceIndex = -1;
float m_micVolume = 1.0;
bool m_micMuted = false;
bool m_micProximitySensorCanMute = false;
bool m_micReversePtt = false;
bool m_isDefaultAudioProfile = false;
bool m_isPlaybackOverride = false;
@@ -129,7 +128,6 @@ public:
void initStage2();
void reloadAudioSettings();
void saveAudioSettings();
void eventLoopTick();