mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
MINI_AL_IMPLEMENTATION to MINIAUDIO_IMPLEMENTATION.
This commit is contained in:
@@ -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"
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user