mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
[client] audio: switch to use config value audio:micDefault
This commit is contained in:
parent
9b910eced1
commit
7cb6ccd6f5
@ -808,7 +808,9 @@ void audio_recordStart(int channels, int sampleRate, PSAudioFormat format)
|
||||
|
||||
if (audio.record.started)
|
||||
realRecordStart(channels, sampleRate, format);
|
||||
else if (g_params.micAlwaysAllow)
|
||||
else if (g_params.micDefaultState == MIC_DEFAULT_DENY)
|
||||
DEBUG_INFO("Microphone access denied by default");
|
||||
else if (g_params.micDefaultState == MIC_DEFAULT_ALLOW)
|
||||
{
|
||||
DEBUG_INFO("Microphone access granted by default");
|
||||
realRecordStart(channels, sampleRate, format);
|
||||
|
Loading…
Reference in New Issue
Block a user