mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Update documentation for examples.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
/*
|
||||
Shows one way to handle looping of a sound.
|
||||
|
||||
This example uses a decoder as the data source. Decoders can be used with the `ma_data_source` API which, conveniently,
|
||||
supports looping via the `ma_data_source_read_pcm_frames()` API. To use it, all you need to do is pass a pointer to the
|
||||
decoder straight into `ma_data_source_read_pcm_frames()` and it will just work.
|
||||
*/
|
||||
#define MINIAUDIO_IMPLEMENTATION
|
||||
#include "../miniaudio.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user