diff options
| author | Joshua Reisenauer <kd7tck@msn.com> | 2016-05-01 23:07:02 -0700 |
|---|---|---|
| committer | Joshua Reisenauer <kd7tck@msn.com> | 2016-05-01 23:07:02 -0700 |
| commit | 790bc7280685d714ddce3e1ee0afa11cee0c5e06 (patch) | |
| tree | b481d307b249654eb58e3c456b997ec5b08fccc2 /src/raylib.h | |
| parent | 289a53221d1c0e51247d09cee0708a1ea9ec32c5 (diff) | |
| download | raylib-790bc7280685d714ddce3e1ee0afa11cee0c5e06.tar.gz raylib-790bc7280685d714ddce3e1ee0afa11cee0c5e06.zip | |
bool return for failed update
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index ade581d3..9c5a8258 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -874,7 +874,7 @@ bool IsAudioDeviceReady(void); // True if call // all samples are floating point stereo by default AudioContext InitAudioContext(unsigned short sampleRate, unsigned char mixChannel); void CloseAudioContext(AudioContext ctx); // Frees audio context -void UpdateAudioContext(AudioContext ctx, float *data, unsigned short dataLength); // Pushes more audio data into context mix channel, if NULL is passed to data then zeros are played +bool UpdateAudioContext(AudioContext ctx, float *data, unsigned short dataLength); // Pushes more audio data into context mix channel, if NULL is passed to data then zeros are played Sound LoadSound(char *fileName); // Load sound to memory Sound LoadSoundFromWave(Wave wave); // Load sound to memory from wave data |
