|
a/upmpd/upmpdutils.hxx |
|
b/upmpd/upmpdutils.hxx |
|
... |
|
... |
46 |
extern int percentodbvalue(int value);
|
46 |
extern int percentodbvalue(int value);
|
47 |
extern int dbvaluetopercent(int dbvalue);
|
47 |
extern int dbvaluetopercent(int dbvalue);
|
48 |
|
48 |
|
49 |
extern bool sleepms(int ms);
|
49 |
extern bool sleepms(int ms);
|
50 |
|
50 |
|
51 |
// Format milliseconds into H+:MM:SS
|
|
|
52 |
extern std::string upnpduration(int ms);
|
|
|
53 |
// hms to seconds
|
|
|
54 |
extern int upnpdurationtos(const string& dur);
|
|
|
55 |
|
|
|
56 |
// Return mapvalue or null strings, for maps where absent entry and
|
51 |
// Return mapvalue or null strings, for maps where absent entry and
|
57 |
// null data are equivalent
|
52 |
// null data are equivalent
|
58 |
extern const std::string& mapget(
|
53 |
extern const std::string& mapget(
|
59 |
const std::unordered_map<std::string, std::string>& im,
|
54 |
const std::unordered_map<std::string, std::string>& im,
|
60 |
const std::string& k);
|
55 |
const std::string& k);
|