Commit a9e7d6d8 authored by David Reid's avatar David Reid

Add some documentation for the new resampler.

This commit also renames ma_resampler_process() to
ma_resampler_process_pcm_frames().
parent b770ea91
This diff is collapsed.
...@@ -45,7 +45,7 @@ int do_count_query_test__required_input__fixed_interval(ma_resampler* pResampler ...@@ -45,7 +45,7 @@ int do_count_query_test__required_input__fixed_interval(ma_resampler* pResampler
outputFrameCount = frameCountPerIteration; outputFrameCount = frameCountPerIteration;
inputFrameCount = ma_countof(input); inputFrameCount = ma_countof(input);
result = ma_resampler_process(pResampler, input, &inputFrameCount, output, &outputFrameCount); result = ma_resampler_process_pcm_frames(pResampler, input, &inputFrameCount, output, &outputFrameCount);
if (result != MA_SUCCESS) { if (result != MA_SUCCESS) {
printf("Failed to process frames."); printf("Failed to process frames.");
return result; return result;
...@@ -177,7 +177,7 @@ int do_count_query_test__expected_output__fixed_interval(ma_resampler* pResample ...@@ -177,7 +177,7 @@ int do_count_query_test__expected_output__fixed_interval(ma_resampler* pResample
outputFrameCount = ma_countof(output); outputFrameCount = ma_countof(output);
inputFrameCount = frameCountPerIteration; inputFrameCount = frameCountPerIteration;
result = ma_resampler_process(pResampler, input, &inputFrameCount, output, &outputFrameCount); result = ma_resampler_process_pcm_frames(pResampler, input, &inputFrameCount, output, &outputFrameCount);
if (result != MA_SUCCESS) { if (result != MA_SUCCESS) {
printf("Failed to process frames."); printf("Failed to process frames.");
return result; return result;
......
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