mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Fix a bug on the audio(4) backend.
This commit is contained in:
Regular → Executable
+1
-1
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user