From cf15442818a62bf3e164a82fd3f77b5325b77378 Mon Sep 17 00:00:00 2001 From: David Reid Date: Thu, 25 Aug 2022 09:47:58 +1000 Subject: [PATCH] Fix a typo. --- miniaudio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniaudio.h b/miniaudio.h index 154f7437..92571b8e 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -1558,7 +1558,7 @@ need to retrieve a job using `ma_resource_manager_next_job()` and then process i ma_job job; ma_result result = ma_resource_manager_next_job(pMyResourceManager, &job); if (result != MA_SUCCESS) { - if (result == MA_NOT_DATA_AVAILABLE) { + if (result == MA_NO_DATA_AVAILABLE) { // No jobs are available. Keep going. Will only get this if the resource manager was initialized // with MA_RESOURCE_MANAGER_FLAG_NON_BLOCKING. continue;