bool return for failed update

This commit is contained in:
Joshua Reisenauer
2016-05-01 23:07:02 -07:00
parent 289a53221d
commit 790bc72806
3 changed files with 9 additions and 4 deletions

View File

@@ -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