mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +00:00
[client] audio: don't call record.mute
if it's not supported
This commit is contained in:
parent
7f93bbd675
commit
52f06ec332
@ -112,7 +112,8 @@ void audio_playbackStart(int channels, int sampleRate, PSAudioFormat format,
|
|||||||
audio.playback.volume);
|
audio.playback.volume);
|
||||||
|
|
||||||
// set the inital mute state
|
// set the inital mute state
|
||||||
audio.audioDev->playback.mute(audio.playback.mute);
|
if (audio.audioDev->playback.mute)
|
||||||
|
audio.audioDev->playback.mute(audio.playback.mute);
|
||||||
}
|
}
|
||||||
|
|
||||||
void audio_playbackStop(void)
|
void audio_playbackStop(void)
|
||||||
@ -201,7 +202,8 @@ void audio_recordStart(int channels, int sampleRate, PSAudioFormat format)
|
|||||||
audio.playback.volume);
|
audio.playback.volume);
|
||||||
|
|
||||||
// set the inital mute state
|
// set the inital mute state
|
||||||
audio.audioDev->record.mute(audio.playback.mute);
|
if (audio.audioDev->record.mute)
|
||||||
|
audio.audioDev->record.mute(audio.playback.mute);
|
||||||
}
|
}
|
||||||
|
|
||||||
void audio_recordStop(void)
|
void audio_recordStop(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user