Handmade Hero » Forums » Game » SoundOutput.SafetyBytes meaning.
gazto
Carlos Gabriel Hasbun Comandari
32 posts

|· noise ·|

#3053 SoundOutput.SafetyBytes meaning.
2 years, 9 months ago Edited by Carlos Gabriel Hasbun Comandari on March 18, 2015, 2:26 a.m.

Watching the following video of HandMade Hero, episode 20:

https://youtu.be/hELF8KRqSIs?t=1h25m23s

I can't really understand the purpose of SoundOutput.SafetyBytes.

Isn't the WriteCursor already offset by the amount of time since GetGlobalBuffer->GetCurrentPosition was called?
If so, what does SoundOutput.SafetyBytes measure?

|· We were all born equal... except for all those things that set us apart. ·|