From 6a8a756b88feccfdf6c73345b44017b0d690d849 Mon Sep 17 00:00:00 2001 From: strager Date: Thu, 19 Dec 2024 15:19:55 -0500 Subject: [PATCH] Fix typo in docs ma_context_get_devices and ma_context_enumerate_devices are mutually related functions. enumerate_devices's docs refer to get_devices, but get_devices's docs refer to get_devices by mistake. Change get_devices's docs to refer to enumerate_devices as intended. --- miniaudio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniaudio.h b/miniaudio.h index 1975a9da..0c4a120a 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -8428,7 +8428,7 @@ The returned pointers will become invalid upon the next call this this function, See Also -------- -ma_context_get_devices() +ma_context_enumerate_devices() */ MA_API ma_result ma_context_get_devices(ma_context* pContext, ma_device_info** ppPlaybackDeviceInfos, ma_uint32* pPlaybackDeviceCount, ma_device_info** ppCaptureDeviceInfos, ma_uint32* pCaptureDeviceCount);