oops, this method can't use assert...

because then mic capture can't use the failure to trigger a permissions check
This commit is contained in:
Nevyn Bengtsson 2020-12-03 14:23:06 +01:00 committed by Bjorn
parent 8678414628
commit 33e4524fd8
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ bool lovrAudioInitDevice(AudioType type) {
int err = ma_device_init(&state.context, &config, &state.devices[type]);
if (err != MA_SUCCESS) {
lovrAssert(false, "Failed to enable audio device %d: %d\n", type, err);
lovrLog(LOG_WARN, "audio", "Failed to enable audio device %d: %d\n", type, err);
return false;
}
return true;