Commit 0419a516 authored by David Reid's avatar David Reid

Fix a bug in mal_src_read_frames_ex().

parent cc04821b
......@@ -9362,7 +9362,7 @@ mal_uint32 mal_src_read_frames_ex(mal_src* pSRC, mal_uint32 frameCount, void* pF
}
// Could just use a function pointer instead of a switch for this...
switch (pSRC->config.algorithm)
switch (algorithm)
{
case mal_src_algorithm_none: return mal_src_read_frames_passthrough(pSRC, frameCount, pFramesOut, flush);
case mal_src_algorithm_linear: return mal_src_read_frames_linear(pSRC, frameCount, pFramesOut, flush);
......
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