[client] audio: fix setfault due to failure to properly reset

This commit is contained in:
Geoffrey McRae 2022-01-27 19:20:16 +11:00
parent 4ff39616b2
commit c2a766c2ee

View File

@ -321,6 +321,7 @@ void audio_playbackStart(int channels, int sampleRate, PSAudioFormat format,
audio.playback.deviceData.nextPosition = 0;
audio.playback.spiceData.periodFrames = 0;
audio.playback.spiceData.nextPosition = 0;
audio.playback.spiceData.devLastTime = INT64_MIN;
audio.playback.spiceData.devNextTime = INT64_MIN;