mirror of https://github.com/bjornbytes/lovr.git
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:
parent
8678414628
commit
33e4524fd8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue