Skip to content

Commit

Permalink
improve AudioPlayer playsync handling
Browse files Browse the repository at this point in the history
It update to compose rendering info when parsing play directive.

Signed-off-by: kimhyungrok <[email protected]>
  • Loading branch information
kimhyungrok authored and webispy committed Jun 12, 2024
1 parent f916dc0 commit 9e7d80d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/capability/audio_player_agent.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ void AudioPlayerAgent::parsingPlay(const char* message)
report_interval_time = report["progressReportIntervalInMilliseconds"].asLargestInt();
}

playsync_manager->startSync(getPlayServiceIdInStackControl(root["playStackControl"]), getName());
playsync_manager->startSync(getPlayServiceIdInStackControl(root["playStackControl"]), getName(), composeRenderInfo(getNuguDirective(), message));

is_finished = false;
is_paused_by_unfocus = false;
Expand Down

0 comments on commit 9e7d80d

Please sign in to comment.