REVIEWED: Comments for UpdateSound() specifying expected data format #5350
This commit is contained in:
parent
a568506265
commit
4724f7cf1b
2 changed files with 3 additions and 3 deletions
|
|
@ -1040,8 +1040,8 @@ void UnloadSoundAlias(Sound alias)
|
|||
}
|
||||
|
||||
// Update sound buffer with new data
|
||||
// NOTE 1: data format must match sound.stream.sampleSize
|
||||
// NOTE 2: frameCount must not exceed sound.frameCount
|
||||
// PARAMS: [data], format must match sound.stream.sampleSize, default 32 bit float - stereo
|
||||
// PARAMS: [frameCount] must not exceed sound.frameCount
|
||||
void UpdateSound(Sound sound, const void *data, int frameCount)
|
||||
{
|
||||
if (sound.stream.buffer != NULL)
|
||||
|
|
|
|||
Loading…
Reference in a new issue