MINI_AL_IMPLEMENTATION to MINIAUDIO_IMPLEMENTATION.

This commit is contained in:
David Reid
2019-03-06 20:49:18 +10:00
parent 3d4716f0ca
commit b93faa46e5
19 changed files with 24 additions and 24 deletions
+3 -3
View File
@@ -51,7 +51,7 @@ Building
======
Do the following in one source file:
```
#define MINI_AL_IMPLEMENTATION
#define MINIAUDIO_IMPLEMENTATION
#include "miniaudio.h"
```
Then just compile. There's no need to install any dependencies. On Windows and macOS there's no need to link
@@ -69,7 +69,7 @@ Simple Playback Example
#define DR_WAV_IMPLEMENTATION
#include "../extras/dr_wav.h" // Enables WAV decoding.
#define MINI_AL_IMPLEMENTATION
#define MINIAUDIO_IMPLEMENTATION
#include "../miniaudio.h"
#include <stdio.h>
@@ -154,7 +154,7 @@ relevant backend library before the implementation of miniaudio, like so:
#include "dr_mp3.h" // Enables MP3 decoding.
#include "dr_wav.h" // Enables WAV decoding.
#define MINI_AL_IMPLEMENTATION
#define MINIAUDIO_IMPLEMENTATION
#include "miniaudio.h"
```