Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
raudio.c File Reference
#include "raylib.h"
#include "config.h"
#include "utils.h"
#include "external/miniaudio.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "external/stb_vorbis.h"
#include "external/jar_xm.h"
#include "external/jar_mod.h"
#include "external/dr_wav.h"
#include "external/dr_mp3.h"
+ Include dependency graph for raudio.c:

Go to the source code of this file.

Classes

struct  rAudioBuffer
 
struct  rAudioProcessor
 
struct  AudioData
 

Macros

#define MA_MALLOC   RL_MALLOC
 raudio v1.0 - A simple and easy-to-use audio library based on miniaudio More...
 
#define MA_FREE   RL_FREE
 
#define MA_NO_JACK
 
#define MA_NO_WAV
 
#define MA_NO_FLAC
 
#define MA_NO_MP3
 
#define MINIAUDIO_IMPLEMENTATION
 
#define STB_VORBIS_IMPLEMENTATION
 
#define JARXM_MALLOC   RL_MALLOC
 
#define JARXM_FREE   RL_FREE
 
#define JAR_XM_IMPLEMENTATION
 
#define JARMOD_MALLOC   RL_MALLOC
 
#define JARMOD_FREE   RL_FREE
 
#define JAR_MOD_IMPLEMENTATION
 
#define DRWAV_MALLOC   RL_MALLOC
 
#define DRWAV_REALLOC   RL_REALLOC
 
#define DRWAV_FREE   RL_FREE
 
#define DR_WAV_IMPLEMENTATION
 
#define DRMP3_MALLOC   RL_MALLOC
 
#define DRMP3_REALLOC   RL_REALLOC
 
#define DRMP3_FREE   RL_FREE
 
#define DR_MP3_IMPLEMENTATION
 
#define DEFAULT_AUDIO_BUFFER_SIZE   4096
 
#define AudioBuffer   rAudioBuffer
 
#define TEXT_BYTES_PER_LINE   20
 

Typedefs

typedef struct AudioData AudioData
 

Enumerations

enum  MusicContextType {
  MUSIC_AUDIO_NONE = 0 , MUSIC_AUDIO_WAV , MUSIC_AUDIO_OGG , MUSIC_AUDIO_FLAC ,
  MUSIC_AUDIO_MP3 , MUSIC_MODULE_XM , MUSIC_MODULE_MOD
}
 
enum  AudioBufferUsage { AUDIO_BUFFER_USAGE_STATIC = 0 , AUDIO_BUFFER_USAGE_STREAM }
 

Functions

AudioBufferLoadAudioBuffer (ma_format format, ma_uint32 channels, ma_uint32 sampleRate, ma_uint32 sizeInFrames, int usage)
 
void UnloadAudioBuffer (AudioBuffer *buffer)
 
bool IsAudioBufferPlaying (AudioBuffer *buffer)
 
void PlayAudioBuffer (AudioBuffer *buffer)
 
void StopAudioBuffer (AudioBuffer *buffer)
 
void PauseAudioBuffer (AudioBuffer *buffer)
 
void ResumeAudioBuffer (AudioBuffer *buffer)
 
void SetAudioBufferVolume (AudioBuffer *buffer, float volume)
 
void SetAudioBufferPitch (AudioBuffer *buffer, float pitch)
 
void SetAudioBufferPan (AudioBuffer *buffer, float pan)
 
void TrackAudioBuffer (AudioBuffer *buffer)
 
void UntrackAudioBuffer (AudioBuffer *buffer)
 
void InitAudioDevice (void)
 
void CloseAudioDevice (void)
 
bool IsAudioDeviceReady (void)
 
void SetMasterVolume (float volume)
 
Wave LoadWave (const char *fileName)
 
Wave LoadWaveFromMemory (const char *fileType, const unsigned char *fileData, int dataSize)
 
Sound LoadSound (const char *fileName)
 
Sound LoadSoundFromWave (Wave wave)
 
void UnloadWave (Wave wave)
 
void UnloadSound (Sound sound)
 
void UpdateSound (Sound sound, const void *data, int sampleCount)
 
bool ExportWave (Wave wave, const char *fileName)
 
bool ExportWaveAsCode (Wave wave, const char *fileName)
 
void PlaySound (Sound sound)
 
void PlaySoundMulti (Sound sound)
 
void StopSoundMulti (void)
 
int GetSoundsPlaying (void)
 
void PauseSound (Sound sound)
 
void ResumeSound (Sound sound)
 
void StopSound (Sound sound)
 
bool IsSoundPlaying (Sound sound)
 
void SetSoundVolume (Sound sound, float volume)
 
void SetSoundPitch (Sound sound, float pitch)
 
void SetSoundPan (Sound sound, float pan)
 
void WaveFormat (Wave *wave, int sampleRate, int sampleSize, int channels)
 
Wave WaveCopy (Wave wave)
 
void WaveCrop (Wave *wave, int initSample, int finalSample)
 
float * LoadWaveSamples (Wave wave)
 
void UnloadWaveSamples (float *samples)
 
Music LoadMusicStream (const char *fileName)
 
Music LoadMusicStreamFromMemory (const char *fileType, const unsigned char *data, int dataSize)
 
void UnloadMusicStream (Music music)
 
void PlayMusicStream (Music music)
 
void PauseMusicStream (Music music)
 
void ResumeMusicStream (Music music)
 
void StopMusicStream (Music music)
 
void SeekMusicStream (Music music, float position)
 
void UpdateMusicStream (Music music)
 
bool IsMusicStreamPlaying (Music music)
 
void SetMusicVolume (Music music, float volume)
 
void SetMusicPitch (Music music, float pitch)
 
void SetMusicPan (Music music, float pan)
 
float GetMusicTimeLength (Music music)
 
float GetMusicTimePlayed (Music music)
 
AudioStream LoadAudioStream (unsigned int sampleRate, unsigned int sampleSize, unsigned int channels)
 
void UnloadAudioStream (AudioStream stream)
 
void UpdateAudioStream (AudioStream stream, const void *data, int frameCount)
 
bool IsAudioStreamProcessed (AudioStream stream)
 
void PlayAudioStream (AudioStream stream)
 
void PauseAudioStream (AudioStream stream)
 
void ResumeAudioStream (AudioStream stream)
 
bool IsAudioStreamPlaying (AudioStream stream)
 
void StopAudioStream (AudioStream stream)
 
void SetAudioStreamVolume (AudioStream stream, float volume)
 
void SetAudioStreamPitch (AudioStream stream, float pitch)
 
void SetAudioStreamPan (AudioStream stream, float pan)
 
void SetAudioStreamBufferSizeDefault (int size)
 
void SetAudioStreamCallback (AudioStream stream, AudioCallback callback)
 
void AttachAudioStreamProcessor (AudioStream stream, AudioCallback process)
 
void DetachAudioStreamProcessor (AudioStream stream, AudioCallback process)
 

Macro Definition Documentation

◆ AudioBuffer

#define AudioBuffer   rAudioBuffer

Definition at line 349 of file raudio.c.

◆ DEFAULT_AUDIO_BUFFER_SIZE

#define DEFAULT_AUDIO_BUFFER_SIZE   4096

Definition at line 271 of file raudio.c.

◆ DR_MP3_IMPLEMENTATION

#define DR_MP3_IMPLEMENTATION

Definition at line 236 of file raudio.c.

◆ DR_WAV_IMPLEMENTATION

#define DR_WAV_IMPLEMENTATION

Definition at line 227 of file raudio.c.

◆ DRMP3_FREE

#define DRMP3_FREE   RL_FREE

Definition at line 234 of file raudio.c.

◆ DRMP3_MALLOC

#define DRMP3_MALLOC   RL_MALLOC

Definition at line 232 of file raudio.c.

◆ DRMP3_REALLOC

#define DRMP3_REALLOC   RL_REALLOC

Definition at line 233 of file raudio.c.

◆ DRWAV_FREE

#define DRWAV_FREE   RL_FREE

Definition at line 225 of file raudio.c.

◆ DRWAV_MALLOC

#define DRWAV_MALLOC   RL_MALLOC

Definition at line 223 of file raudio.c.

◆ DRWAV_REALLOC

#define DRWAV_REALLOC   RL_REALLOC

Definition at line 224 of file raudio.c.

◆ JAR_MOD_IMPLEMENTATION

#define JAR_MOD_IMPLEMENTATION

Definition at line 218 of file raudio.c.

◆ JAR_XM_IMPLEMENTATION

#define JAR_XM_IMPLEMENTATION

Definition at line 210 of file raudio.c.

◆ JARMOD_FREE

#define JARMOD_FREE   RL_FREE

Definition at line 216 of file raudio.c.

◆ JARMOD_MALLOC

#define JARMOD_MALLOC   RL_MALLOC

Definition at line 215 of file raudio.c.

◆ JARXM_FREE

#define JARXM_FREE   RL_FREE

Definition at line 208 of file raudio.c.

◆ JARXM_MALLOC

#define JARXM_MALLOC   RL_MALLOC

Definition at line 207 of file raudio.c.

◆ MA_FREE

#define MA_FREE   RL_FREE

Definition at line 164 of file raudio.c.

◆ MA_MALLOC

#define MA_MALLOC   RL_MALLOC

raudio v1.0 - A simple and easy-to-use audio library based on miniaudio

FEATURES:

  • Manage audio device (init/close)
  • Manage raw audio context
  • Manage mixing channels
  • Load and unload audio files
  • Format wave data (sample rate, size, channels)
  • Play/Stop/Pause/Resume loaded audio

CONFIGURATION:

#define SUPPORT_MODULE_RAUDIO raudio module is included in the build

#define RAUDIO_STANDALONE Define to use the module as standalone library (independently of raylib). Required types and functions are defined in the same module.

#define SUPPORT_FILEFORMAT_WAV #define SUPPORT_FILEFORMAT_OGG #define SUPPORT_FILEFORMAT_XM #define SUPPORT_FILEFORMAT_MOD #define SUPPORT_FILEFORMAT_FLAC #define SUPPORT_FILEFORMAT_MP3 Selected desired fileformats to be supported for loading. Some of those formats are supported by default, to remove support, just comment unrequired #define in this module

DEPENDENCIES: miniaudio.h - Audio device management lib (https://github.com/mackron/miniaudio) stb_vorbis.h - Ogg audio files loading (http://www.nothings.org/stb_vorbis/) dr_wav.h - WAV audio files loading (http://github.com/mackron/dr_libs) dr_mp3.h - MP3 audio file loading (https://github.com/mackron/dr_libs) dr_flac.h - FLAC audio file loading (https://github.com/mackron/dr_libs) jar_xm.h - XM module file loading jar_mod.h - MOD audio file loading

CONTRIBUTORS: David Reid (github: @mackron) (Nov. 2017):

  • Complete port to miniaudio library

Joshua Reisenauer (github: @kd7tck) (2015)

  • XM audio module support (jar_xm)
  • MOD audio module support (jar_mod)
  • Mixing channels support
  • Raw audio context support

LICENSE: zlib/libpng

Copyright (c) 2013-2022 Ramon Santamaria (@raysan5)

This software is provided "as-is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

Definition at line 163 of file raudio.c.

◆ MA_NO_FLAC

#define MA_NO_FLAC

Definition at line 168 of file raudio.c.

◆ MA_NO_JACK

#define MA_NO_JACK

Definition at line 166 of file raudio.c.

◆ MA_NO_MP3

#define MA_NO_MP3

Definition at line 169 of file raudio.c.

◆ MA_NO_WAV

#define MA_NO_WAV

Definition at line 167 of file raudio.c.

◆ MINIAUDIO_IMPLEMENTATION

#define MINIAUDIO_IMPLEMENTATION

Definition at line 170 of file raudio.c.

◆ STB_VORBIS_IMPLEMENTATION

#define STB_VORBIS_IMPLEMENTATION

Definition at line 202 of file raudio.c.

◆ TEXT_BYTES_PER_LINE

#define TEXT_BYTES_PER_LINE   20

Typedef Documentation

◆ AudioData

typedef struct AudioData AudioData

Enumeration Type Documentation

◆ AudioBufferUsage

Enumerator
AUDIO_BUFFER_USAGE_STATIC 
AUDIO_BUFFER_USAGE_STREAM 

Definition at line 309 of file raudio.c.

◆ MusicContextType

Enumerator
MUSIC_AUDIO_NONE 
MUSIC_AUDIO_WAV 
MUSIC_AUDIO_OGG 
MUSIC_AUDIO_FLAC 
MUSIC_AUDIO_MP3 
MUSIC_MODULE_XM 
MUSIC_MODULE_MOD 

Definition at line 282 of file raudio.c.

Function Documentation

◆ AttachAudioStreamProcessor()

void AttachAudioStreamProcessor ( AudioStream  stream,
AudioCallback  process 
)

Definition at line 2055 of file raudio.c.

+ Here is the call graph for this function:

◆ CloseAudioDevice()

void CloseAudioDevice ( void  )

Definition at line 494 of file raudio.c.

+ Here is the call graph for this function:

◆ DetachAudioStreamProcessor()

void DetachAudioStreamProcessor ( AudioStream  stream,
AudioCallback  process 
)

Definition at line 2078 of file raudio.c.

+ Here is the call graph for this function:

◆ ExportWave()

bool ExportWave ( Wave  wave,
const char *  fileName 
)

Definition at line 916 of file raudio.c.

+ Here is the call graph for this function:

◆ ExportWaveAsCode()

bool ExportWaveAsCode ( Wave  wave,
const char *  fileName 
)

Definition at line 958 of file raudio.c.

+ Here is the call graph for this function:

◆ GetMusicTimeLength()

float GetMusicTimeLength ( Music  music)

Definition at line 1855 of file raudio.c.

◆ GetMusicTimePlayed()

float GetMusicTimePlayed ( Music  music)

Definition at line 1865 of file raudio.c.

+ Here is the call graph for this function:

◆ GetSoundsPlaying()

int GetSoundsPlaying ( void  )

Definition at line 1098 of file raudio.c.

+ Here is the call graph for this function:

◆ InitAudioDevice()

void InitAudioDevice ( void  )

Definition at line 421 of file raudio.c.

+ Here is the call graph for this function:

◆ IsAudioBufferPlaying()

bool IsAudioBufferPlaying ( AudioBuffer buffer)

Definition at line 605 of file raudio.c.

+ Here is the caller graph for this function:

◆ IsAudioDeviceReady()

bool IsAudioDeviceReady ( void  )

Definition at line 524 of file raudio.c.

◆ IsAudioStreamPlaying()

bool IsAudioStreamPlaying ( AudioStream  stream)

Definition at line 2011 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsAudioStreamProcessed()

bool IsAudioStreamProcessed ( AudioStream  stream)

Definition at line 1985 of file raudio.c.

+ Here is the caller graph for this function:

◆ IsMusicStreamPlaying()

bool IsMusicStreamPlaying ( Music  music)

Definition at line 1831 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsSoundPlaying()

bool IsSoundPlaying ( Sound  sound)

Definition at line 1129 of file raudio.c.

+ Here is the call graph for this function:

◆ LoadAudioBuffer()

AudioBuffer * LoadAudioBuffer ( ma_format  format,
ma_uint32  channels,
ma_uint32  sampleRate,
ma_uint32  sizeInFrames,
int  usage 
)

Definition at line 540 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadAudioStream()

AudioStream LoadAudioStream ( unsigned int  sampleRate,
unsigned int  sampleSize,
unsigned int  channels 
)

Definition at line 1891 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadMusicStream()

Music LoadMusicStream ( const char *  fileName)

Definition at line 1254 of file raudio.c.

+ Here is the call graph for this function:

◆ LoadMusicStreamFromMemory()

Music LoadMusicStreamFromMemory ( const char *  fileType,
const unsigned char *  data,
int  dataSize 
)

Definition at line 1425 of file raudio.c.

+ Here is the call graph for this function:

◆ LoadSound()

Sound LoadSound ( const char *  fileName)

Definition at line 835 of file raudio.c.

+ Here is the call graph for this function:

◆ LoadSoundFromWave()

Sound LoadSoundFromWave ( Wave  wave)

Definition at line 848 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadWave()

Wave LoadWave ( const char *  fileName)

Definition at line 726 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadWaveFromMemory()

Wave LoadWaveFromMemory ( const char *  fileType,
const unsigned char *  fileData,
int  dataSize 
)

Definition at line 744 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadWaveSamples()

float * LoadWaveSamples ( Wave  wave)

Definition at line 1227 of file raudio.c.

◆ PauseAudioBuffer()

void PauseAudioBuffer ( AudioBuffer buffer)

Definition at line 645 of file raudio.c.

+ Here is the caller graph for this function:

◆ PauseAudioStream()

void PauseAudioStream ( AudioStream  stream)

Definition at line 1999 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PauseMusicStream()

void PauseMusicStream ( Music  music)

Definition at line 1658 of file raudio.c.

+ Here is the call graph for this function:

◆ PauseSound()

void PauseSound ( Sound  sound)

Definition at line 1111 of file raudio.c.

+ Here is the call graph for this function:

◆ PlayAudioBuffer()

void PlayAudioBuffer ( AudioBuffer buffer)

Definition at line 617 of file raudio.c.

+ Here is the caller graph for this function:

◆ PlayAudioStream()

void PlayAudioStream ( AudioStream  stream)

Definition at line 1993 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PlayMusicStream()

void PlayMusicStream ( Music  music)

Definition at line 1643 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PlaySound()

void PlaySound ( Sound  sound)

Definition at line 1023 of file raudio.c.

+ Here is the call graph for this function:

◆ PlaySoundMulti()

void PlaySoundMulti ( Sound  sound)

Definition at line 1029 of file raudio.c.

+ Here is the call graph for this function:

◆ ResumeAudioBuffer()

void ResumeAudioBuffer ( AudioBuffer buffer)

Definition at line 651 of file raudio.c.

+ Here is the caller graph for this function:

◆ ResumeAudioStream()

void ResumeAudioStream ( AudioStream  stream)

Definition at line 2005 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResumeMusicStream()

void ResumeMusicStream ( Music  music)

Definition at line 1664 of file raudio.c.

+ Here is the call graph for this function:

◆ ResumeSound()

void ResumeSound ( Sound  sound)

Definition at line 1117 of file raudio.c.

+ Here is the call graph for this function:

◆ SeekMusicStream()

void SeekMusicStream ( Music  music,
float  position 
)

Definition at line 1699 of file raudio.c.

+ Here is the call graph for this function:

◆ SetAudioBufferPan()

void SetAudioBufferPan ( AudioBuffer buffer,
float  pan 
)

Definition at line 679 of file raudio.c.

+ Here is the caller graph for this function:

◆ SetAudioBufferPitch()

void SetAudioBufferPitch ( AudioBuffer buffer,
float  pitch 
)

Definition at line 663 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetAudioBufferVolume()

void SetAudioBufferVolume ( AudioBuffer buffer,
float  volume 
)

Definition at line 657 of file raudio.c.

+ Here is the caller graph for this function:

◆ SetAudioStreamBufferSizeDefault()

void SetAudioStreamBufferSizeDefault ( int  size)

Definition at line 2041 of file raudio.c.

◆ SetAudioStreamCallback()

void SetAudioStreamCallback ( AudioStream  stream,
AudioCallback  callback 
)

Definition at line 2047 of file raudio.c.

◆ SetAudioStreamPan()

void SetAudioStreamPan ( AudioStream  stream,
float  pan 
)

Definition at line 2035 of file raudio.c.

+ Here is the call graph for this function:

◆ SetAudioStreamPitch()

void SetAudioStreamPitch ( AudioStream  stream,
float  pitch 
)

Definition at line 2029 of file raudio.c.

+ Here is the call graph for this function:

◆ SetAudioStreamVolume()

void SetAudioStreamVolume ( AudioStream  stream,
float  volume 
)

Definition at line 2023 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetMasterVolume()

void SetMasterVolume ( float  volume)

Definition at line 530 of file raudio.c.

+ Here is the call graph for this function:

◆ SetMusicPan()

void SetMusicPan ( Music  music,
float  pan 
)

Definition at line 1849 of file raudio.c.

+ Here is the call graph for this function:

◆ SetMusicPitch()

void SetMusicPitch ( Music  music,
float  pitch 
)

Definition at line 1843 of file raudio.c.

+ Here is the call graph for this function:

◆ SetMusicVolume()

void SetMusicVolume ( Music  music,
float  volume 
)

Definition at line 1837 of file raudio.c.

+ Here is the call graph for this function:

◆ SetSoundPan()

void SetSoundPan ( Sound  sound,
float  pan 
)

Definition at line 1147 of file raudio.c.

+ Here is the call graph for this function:

◆ SetSoundPitch()

void SetSoundPitch ( Sound  sound,
float  pitch 
)

Definition at line 1141 of file raudio.c.

+ Here is the call graph for this function:

◆ SetSoundVolume()

void SetSoundVolume ( Sound  sound,
float  volume 
)

Definition at line 1135 of file raudio.c.

+ Here is the call graph for this function:

◆ StopAudioBuffer()

void StopAudioBuffer ( AudioBuffer buffer)

Definition at line 628 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StopAudioStream()

void StopAudioStream ( AudioStream  stream)

Definition at line 2017 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StopMusicStream()

void StopMusicStream ( Music  music)

Definition at line 1670 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ StopSound()

void StopSound ( Sound  sound)

Definition at line 1123 of file raudio.c.

+ Here is the call graph for this function:

◆ StopSoundMulti()

void StopSoundMulti ( void  )

Definition at line 1092 of file raudio.c.

+ Here is the call graph for this function:

◆ TrackAudioBuffer()

void TrackAudioBuffer ( AudioBuffer buffer)

Definition at line 688 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UnloadAudioBuffer()

void UnloadAudioBuffer ( AudioBuffer buffer)

Definition at line 593 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UnloadAudioStream()

void UnloadAudioStream ( AudioStream  stream)

Definition at line 1923 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UnloadMusicStream()

void UnloadMusicStream ( Music  music)

Definition at line 1614 of file raudio.c.

+ Here is the call graph for this function:

◆ UnloadSound()

void UnloadSound ( Sound  sound)

Definition at line 897 of file raudio.c.

+ Here is the call graph for this function:

◆ UnloadWave()

void UnloadWave ( Wave  wave)

Definition at line 890 of file raudio.c.

+ Here is the caller graph for this function:

◆ UnloadWaveSamples()

void UnloadWaveSamples ( float *  samples)

Definition at line 1244 of file raudio.c.

◆ UntrackAudioBuffer()

void UntrackAudioBuffer ( AudioBuffer buffer)

Definition at line 705 of file raudio.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateAudioStream()

void UpdateAudioStream ( AudioStream  stream,
const void *  data,
int  frameCount 
)

Definition at line 1933 of file raudio.c.

+ Here is the caller graph for this function:

◆ UpdateMusicStream()

void UpdateMusicStream ( Music  music)

Definition at line 1727 of file raudio.c.

+ Here is the call graph for this function:

◆ UpdateSound()

void UpdateSound ( Sound  sound,
const void *  data,
int  sampleCount 
)

Definition at line 904 of file raudio.c.

+ Here is the call graph for this function:

◆ WaveCopy()

Wave WaveCopy ( Wave  wave)

Definition at line 1185 of file raudio.c.

◆ WaveCrop()

void WaveCrop ( Wave wave,
int  initSample,
int  finalSample 
)

Definition at line 1207 of file raudio.c.

◆ WaveFormat()

void WaveFormat ( Wave wave,
int  sampleRate,
int  sampleSize,
int  channels 
)

Definition at line 1153 of file raudio.c.

+ Here is the call graph for this function: