blob: 352c549f06ce93d0538cd4df4ab1eadc3c4964f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#include "audiographer/debug_utils.h"
#include "audiographer/process_context.h"
#include <sstream>
namespace AudioGrapher {
std::string
DebugUtils::process_context_flag_name (FlagField::Flag flag)
{
std::ostringstream ret;
switch (flag) {
case ProcessContext<>::EndOfInput:
ret << "EndOfInput";
break;
default:
ret << flag;
break;
}
return ret.str();
}
} // namespace
|