Commit d0e29698 authored by David Reid's avatar David Reid

Update simple playback example.

parent 76e3267c
......@@ -18,7 +18,7 @@ mal_uint32 on_send_frames_to_device(mal_device* pDevice, mal_uint32 frameCount,
return 0;
}
return (mal_uint32)mal_decoder_read(pDecoder, frameCount, pSamples);
return (mal_uint32)mal_decoder_read_pcm_frames(pDecoder, frameCount, pSamples);
}
int main(int argc, char** argv)
......
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