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
@@ -9,8 +9,7 @@ This example will load the sound specified on the command line and rotate it aro
head.
*/
#define MA_NO_DEVICE_IO /* <-- Disables the `ma_device` API. We don't need that in this example since SDL will be doing that part for us. */
#define MINIAUDIO_IMPLEMENTATION
#include "../miniaudio.h"
#include "../miniaudio.c"
#define SDL_MAIN_HANDLED
#include <SDL2/SDL.h> /* Change this to your include location. Might be <SDL.h>. */