Commit 99960dd7 authored by David Reid's avatar David Reid

Fix a bug on the audio(4) backend.

parent 725ce22b
File mode changed from 100644 to 100755
...@@ -20870,7 +20870,7 @@ ma_result ma_device_init_fd__audio4(ma_context* pContext, const ma_device_config ...@@ -20870,7 +20870,7 @@ ma_result ma_device_init_fd__audio4(ma_context* pContext, const ma_device_config
} else { } else {
fdFlags = O_WRONLY; 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)) { if ((deviceType == ma_device_type_capture && pConfig->capture.pDeviceID == NULL) || (deviceType == ma_device_type_playback && pConfig->playback.pDeviceID == NULL)) {
/* Default device. */ /* Default device. */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment