Skip to content

Commit d6487d0

Browse files
committed
Make ma_blocking_mode public in preparation for some changes.
1 parent 6931d7d commit d6487d0

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

miniaudio.h

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7239,6 +7239,11 @@ MA_API ma_result ma_device_job_thread_next(ma_device_job_thread* pJobThread, ma_
72397239

72407240

72417241

7242+
typedef enum ma_blocking_mode
7243+
{
7244+
MA_BLOCKING_MODE_BLOCKING,
7245+
MA_BLOCKING_MODE_NON_BLOCKING
7246+
} ma_blocking_mode;
72427247

72437248
/* ma_device_op* is used internally. Defined here because it's required by ma_device. */
72447249
typedef struct ma_device_op_completion_event
@@ -43760,13 +43765,6 @@ MA_API ma_result ma_device_post_init(ma_device* pDevice, ma_device_type deviceTy
4376043765

4376143766

4376243767

43763-
/* TODO: Make this public? */
43764-
typedef enum ma_blocking_mode
43765-
{
43766-
MA_BLOCKING_MODE_BLOCKING,
43767-
MA_BLOCKING_MODE_NON_BLOCKING
43768-
} ma_blocking_mode;
43769-
4377043768
MA_API ma_result ma_device_op_completion_event_init(ma_device_op_completion_event* pCompletionEvent)
4377143769
{
4377243770
if (pCompletionEvent == NULL) {

0 commit comments

Comments
 (0)