Commit efc2fdcb authored by David Reid's avatar David Reid

Fix a seeking bug for sounds.

parent 2d43f4d0
......@@ -11967,6 +11967,7 @@ static ma_result ma_sound_preinit(ma_engine* pEngine, ma_sound* pSound)
}
MA_ZERO_OBJECT(pSound);
pSound->seekTarget = MA_SEEK_TARGET_NONE;
if (pEngine == NULL) {
return MA_INVALID_ARGS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment