jasonbcox / rocket

ROCKET Engine
Other
1 stars 0 forks source link

Audio Race Condition Causes Segfault #33

Open jasonbcox opened 10 years ago

jasonbcox commented 10 years ago

Calling AudioDevice::addSound() after AudioDevice::startStream() may cause a race condition where the audio callback ends up calling Sound::addToBuffer() on a NULL pointer. Determine why this is happening and fix it.