[client] audio: restore microphone volume and mute state
This commit is contained in:
1 parent
d384591e05
commit
a421be5e54
1 file changed
+3
-3
+3
-3
@@ -761,12 +761,12 @@ static void realRecordStart(int channels, int sampleRate, PSAudioFormat format)
|
||||
// if a volume level was stored, set it before we return
|
||||
if (audio.record.volumeChannels)
|
||||
audio.audioDev->record.volume(
|
||||
audio.playback.volumeChannels,
|
||||
audio.playback.volume);
|
||||
audio.record.volumeChannels,
|
||||
audio.record.volume);
|
||||
|
||||
// set the inital mute state
|
||||
if (audio.audioDev->record.mute)
|
||||
audio.audioDev->record.mute(audio.playback.mute);
|
||||
audio.audioDev->record.mute(audio.record.mute);
|
||||
|
||||
if (g_params.micShowIndicator)
|
||||
app_showRecord(true);
|
||||
|
||||
Reference in new issue
Block a user