Skip to content

Commit

Permalink
core: update position
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
JeanTracker authored and kimhyungrok committed Jun 18, 2024
1 parent 83332d6 commit f6db184
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/media_player.cc
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,8 @@ bool MediaPlayer::resume()
{
nugu_dbg("request to resume mediaplayer");

d->pos_timer->restart();

if (nugu_player_resume(d->player) < 0)
return false;

Expand Down

0 comments on commit f6db184

Please sign in to comment.