Fix missing ma_resampler_init argument in docs

ma_resampler_init has three parameters, not two. Add the missing
pAllocationCallbacks argument in the example code.
This commit is contained in:
strager
2025-01-05 17:49:57 -05:00
committed by David Reid
parent bff9689b80
commit 7dbb9f5e1a
+1 -1
View File
@@ -2899,7 +2899,7 @@ like the following:
ma_resample_algorithm_linear);
ma_resampler resampler;
ma_result result = ma_resampler_init(&config, &resampler);
ma_result result = ma_resampler_init(&config, NULL, &resampler);
if (result != MA_SUCCESS) {
// An error occurred...
}