mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Minor update to documentation for the single-threaded example.
This commit is contained in:
@@ -21,6 +21,9 @@ use `MA_BLOCKING_MODE_NON_BLOCKING`.
|
||||
You should only ever call `ma_device_step()` in single-threaded mode. In multi-threaded mode (the
|
||||
default), you should never call this function manually. You can query whether or not the device is
|
||||
in single-threaded mode via `ma_device_get_threading_mode()`.
|
||||
|
||||
When in single-threaded mode, you should ensure that all `ma_device` API calls are made from the same
|
||||
thread. This is due to some backends that require it, such as WASAPI.
|
||||
*/
|
||||
#include "../miniaudio.c"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user