Control: report stats for audio

This commit is contained in:
Martin Pulec
2018-03-15 15:02:46 +01:00
parent b24bed7f64
commit d30fb765a8
5 changed files with 42 additions and 6 deletions

View File

@@ -899,3 +899,8 @@ void control_report_event(struct control_state *s, const std::string &report_lin
control_report_stats_event(s, "event " + report_line + "\r\n");
}
bool control_stats_enabled(struct control_state *s)
{
return s && s->stats_on;
}