Skip to content

Commit f6db184

Browse files
JeanTrackerkimhyungrok
authored andcommitted
core: update position
If only the AudioPlayer is received instead of receiving a voice response from the server in the order of TTS and AudioPlayer, polling timer is not work. Signed-off-by: JeanTracker <[email protected]>
1 parent 83332d6 commit f6db184

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/media_player.cc

+2
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,8 @@ bool MediaPlayer::resume()
284284
{
285285
nugu_dbg("request to resume mediaplayer");
286286

287+
d->pos_timer->restart();
288+
287289
if (nugu_player_resume(d->player) < 0)
288290
return false;
289291

0 commit comments

Comments
 (0)