summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorDavid Reid <[email protected]>2017-11-18 08:42:14 +1000
committerDavid Reid <[email protected]>2017-11-18 08:42:14 +1000
commit60d7215b2af12614e0dd99b30ac4330168100fe8 (patch)
treebe984ea6a52adb242b1dc82f8a57eff076b132e9 /src/raylib.h
parent261b00e9e8a0b9d90c4e7d26813a09eeee9d2f99 (diff)
downloadraylib-60d7215b2af12614e0dd99b30ac4330168100fe8.tar.gz
raylib-60d7215b2af12614e0dd99b30ac4330168100fe8.zip
mini_al: Unify the buffer system for Sounds and AudioStreams.
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 1f138c2b..331817cf 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -486,7 +486,7 @@ typedef struct Wave {
// Sound source type
typedef struct Sound {
- void* handle; // A pointer to internal data used by the audio system.
+ void* audioBuffer; // A pointer to internal data used by the audio system.
unsigned int source; // OpenAL audio source id
unsigned int buffer; // OpenAL audio buffer id
@@ -504,7 +504,7 @@ typedef struct AudioStream {
unsigned int sampleSize; // Bit depth (bits per sample): 8, 16, 32 (24 not supported)
unsigned int channels; // Number of channels (1-mono, 2-stereo)
- void* handle; // A pointer to internal data used by the audio system.
+ void* audioBuffer; // A pointer to internal data used by the audio system.
int format; // OpenAL audio format specifier
unsigned int source; // OpenAL audio source id