From b798cb803497cb9d60918fe1d6153696b364b07d Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 7 Jul 2017 16:32:55 +0200 Subject: Write statistics to yaml file, add option to stop after N frames --- src/utils.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/utils.hpp') diff --git a/src/utils.hpp b/src/utils.hpp index 3ff9f13..fdb673e 100644 --- a/src/utils.hpp +++ b/src/utils.hpp @@ -85,3 +85,6 @@ std::string pnum_to_str(uint16_t Programme_Number); // Convert and absolute 16-bit int value to dB. If value is zero, returns // -90dB int absolute_to_dB(int16_t value); + +// Calculate the shortlabel from the label and the flag +std::string flag_to_shortlabel(const std::string& label, uint16_t flag); -- cgit v1.2.3