|
|
@ -1474,7 +1474,7 @@ RLAPI RayCollision GetRayCollisionQuad(Ray ray, Vector3 p1, Vector3 p2, Vector3 |
|
|
|
//------------------------------------------------------------------------------------ |
|
|
|
// Audio Loading and Playing Functions (Module: audio) |
|
|
|
//------------------------------------------------------------------------------------ |
|
|
|
typedef void (*AudioStreamCallback)(void *bufferData, unsigned int frames); |
|
|
|
typedef void (*AudioCallback)(void *bufferData, unsigned int frames); |
|
|
|
|
|
|
|
// Audio device management functions |
|
|
|
RLAPI void InitAudioDevice(void); // Initialize audio device and context |
|
|
@ -1542,7 +1542,7 @@ RLAPI void SetAudioStreamVolume(AudioStream stream, float volume); // Set vol |
|
|
|
RLAPI void SetAudioStreamPitch(AudioStream stream, float pitch); // Set pitch for audio stream (1.0 is base level) |
|
|
|
RLAPI void SetAudioStreamPan(AudioStream stream, float pan); // Set pan for audio stream (0.5 is centered) |
|
|
|
RLAPI void SetAudioStreamBufferSizeDefault(int size); // Default size for new audio streams |
|
|
|
RLAPI void SetAudioStreamCallback(AudioStream stream, AudioStreamCallback callback); // Audio thread callback to request new data |
|
|
|
RLAPI void SetAudioStreamCallback(AudioStream stream, AudioCallback callback); // Audio thread callback to request new data |
|
|
|
|
|
|
|
#if defined(__cplusplus) |
|
|
|
} |
|
|
|