bool return for failed update

This commit is contained in:
Joshua Reisenauer 2016-05-01 23:07:02 -07:00
commit 790bc72806

View file

@ -88,7 +88,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