Fix a bug on the audio(4) backend.

This commit is contained in:
David Reid
2018-08-25 07:54:35 +00:00
parent 725ce22b89
commit 99960dd706
2 changed files with 1 additions and 1 deletions
View File
+1 -1
View File
@@ -20870,7 +20870,7 @@ ma_result ma_device_init_fd__audio4(ma_context* pContext, const ma_device_config
} else {
fdFlags = O_WRONLY;
}
fdFlags |= O_NONBLOCK;
/*fdFlags |= O_NONBLOCK;*/
if ((deviceType == ma_device_type_capture && pConfig->capture.pDeviceID == NULL) || (deviceType == ma_device_type_playback && pConfig->playback.pDeviceID == NULL)) {
/* Default device. */