You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Update audio stream buffers with data NOTE 1: Only updates one buffer of the stream source: dequeue -> update -> queue NOTE 2: To dequeue a buffer it needs to be processed: IsAudioStreamProcessed()
Parameters
Parameter
Default Value
Note
stream
data
Return value
None.
Notes
Example
raylib.InitAudioDevicestream=raylib.LoadAudioStream(44100, 32, 1)
raylib.PlayAudioStreamstream// each frame, when buffer needs refill:ifraylib.IsAudioStreamProcessed(stream) thenraylib.UpdateAudioStreamstream, audioDataendifraylib.UnloadAudioStreamstreamraylib.CloseAudioDevice