Clearing buffer index and length of codec2 data when the reproduction of a voice prompt is completed
This commit is contained in:
parent
cad026f902
commit
158b38d113
|
|
@ -495,8 +495,10 @@ void vp_tick()
|
||||||
// see if we've finished.
|
// see if we've finished.
|
||||||
if(vpCurrentSequence.pos == vpCurrentSequence.length)
|
if(vpCurrentSequence.pos == vpCurrentSequence.length)
|
||||||
{
|
{
|
||||||
voicePromptActive = false;
|
voicePromptActive = false;
|
||||||
vpCurrentSequence.pos = 0;
|
vpCurrentSequence.pos = 0;
|
||||||
|
vpCurrentSequence.c2DataIndex = 0;
|
||||||
|
vpCurrentSequence.c2DataLength = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue