mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Update simple playback example.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user