Skip to content

<easylrc/render.h>

Functions

render_xml()

Render LRC as XML.

Arguments

  • std::vector<easylrc::line_t>& lines - array of lyrics lines. Required.

  • unsigned int timestamp - timestamp, defines current time for displaying current words/lines. Default value: 0.

  • std::string custom_tag - custom xml body tag. Default value: lyrics.


render_html()

  • std::vector<easylrc::line_t>& lines - array of lyrics lines. Required.

  • unsigned int timestamp - timestamp, defines current time for displaying current words/lines. Default value: 0.


render_json()

  • std::vector<easylrc::line_t>& lines - array of lyrics lines. Required.

  • unsigned int timestamp - timestamp, defines current time for displaying current words/lines. Default value: 0.