kopia lustrzana https://github.com/OpenRTX/OpenRTX
Reset prompt buffer position to zero once VP had finished speaking so that another play would replay the buffer
rodzic
99408a5455
commit
1383e3d61e
|
@ -482,7 +482,10 @@ void vp_tick()
|
|||
|
||||
// see if we've finished.
|
||||
if(vpCurrentSequence.pos == vpCurrentSequence.length)
|
||||
voicePromptActive = false;
|
||||
{
|
||||
voicePromptActive = false;
|
||||
vpCurrentSequence.pos = 0;
|
||||
}
|
||||
}
|
||||
|
||||
bool vp_isPlaying()
|
||||
|
|
Ładowanie…
Reference in New Issue