mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 00:34:03 +02:00
Make the ma_event API public in preparation for some future work.
This commit is contained in:
+21
@@ -5206,6 +5206,27 @@ Unlocks a mutex.
|
|||||||
MA_API void ma_mutex_unlock(ma_mutex* pMutex);
|
MA_API void ma_mutex_unlock(ma_mutex* pMutex);
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Initializes an auto-reset event.
|
||||||
|
*/
|
||||||
|
MA_API ma_result ma_event_init(ma_event* pEvent);
|
||||||
|
|
||||||
|
/*
|
||||||
|
Uninitializes an auto-reset event.
|
||||||
|
*/
|
||||||
|
MA_API void ma_event_uninit(ma_event* pEvent);
|
||||||
|
|
||||||
|
/*
|
||||||
|
Waits for the specified auto-reset event to become signalled.
|
||||||
|
*/
|
||||||
|
MA_API ma_result ma_event_wait(ma_event* pEvent);
|
||||||
|
|
||||||
|
/*
|
||||||
|
Signals the specified auto-reset event.
|
||||||
|
*/
|
||||||
|
MA_API ma_result ma_event_signal(ma_event* pEvent);
|
||||||
|
|
||||||
|
|
||||||
/************************************************************************************************************************************************************
|
/************************************************************************************************************************************************************
|
||||||
|
|
||||||
Utiltities
|
Utiltities
|
||||||
|
|||||||
Reference in New Issue
Block a user