Commit 7dbb9f5e authored by strager's avatar strager Committed by David Reid

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.
parent bff9689b
......@@ -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...
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment