mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 06:47:19 +00:00
[client] audio: fix setfault due to failure to properly reset
This commit is contained in:
parent
4ff39616b2
commit
c2a766c2ee
@ -321,6 +321,7 @@ void audio_playbackStart(int channels, int sampleRate, PSAudioFormat format,
|
|||||||
|
|
||||||
audio.playback.deviceData.nextPosition = 0;
|
audio.playback.deviceData.nextPosition = 0;
|
||||||
|
|
||||||
|
audio.playback.spiceData.periodFrames = 0;
|
||||||
audio.playback.spiceData.nextPosition = 0;
|
audio.playback.spiceData.nextPosition = 0;
|
||||||
audio.playback.spiceData.devLastTime = INT64_MIN;
|
audio.playback.spiceData.devLastTime = INT64_MIN;
|
||||||
audio.playback.spiceData.devNextTime = INT64_MIN;
|
audio.playback.spiceData.devNextTime = INT64_MIN;
|
||||||
|
Loading…
Reference in New Issue
Block a user