From f31bdb15fc5040ef89a9306d3a427b17eb6c4c4d Mon Sep 17 00:00:00 2001 From: David Reid Date: Sun, 18 Apr 2021 12:25:53 +1000 Subject: [PATCH] Fix an error in some documentation. --- miniaudio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniaudio.h b/miniaudio.h index d9a01460..dc8f08d8 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -3529,7 +3529,7 @@ easier, some helper callbacks are available. If the backend uses a blocking read backend uses a callback for data delivery, that callback must call `ma_device_handle_backend_data_callback()` from within it's callback. This allows miniaudio to then process any necessary data conversion and then pass it to the miniaudio data callback. -If the backend requires absolute flexibility with it's data delivery, it can optionally implement the `onDeviceWorkerThread()` callback +If the backend requires absolute flexibility with it's data delivery, it can optionally implement the `onDeviceDataLoop()` callback which will allow it to implement the logic that will run on the audio thread. This is much more advanced and is completely optional. The audio thread should run data delivery logic in a loop while `ma_device_get_state() == MA_STATE_STARTED` and no errors have been