Stop using MINIAUDIO_IMPLEMENTATION in examples.

This commit is contained in:
David Reid
2025-02-22 13:09:11 +10:00
parent e1f5ed4f79
commit 1fbad32949
20 changed files with 20 additions and 41 deletions
+1 -2
View File
@@ -5,8 +5,7 @@ This example uses a decoder as the data source. Decoders can be used with the `m
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"
#include "../miniaudio.c"
#include <stdio.h>