830911f6f9
git-svn-id: svn://localhost/ardour2/branches/3.0@6760 d708f5d6-7413-0410-9779-e7cbd77b26cf
26 lines
396 B
C++
26 lines
396 B
C++
#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
|