diff options
author | Sakari Bergen <sakari.bergen@beatwaves.net> | 2010-03-15 19:11:48 +0000 |
---|---|---|
committer | Sakari Bergen <sakari.bergen@beatwaves.net> | 2010-03-15 19:11:48 +0000 |
commit | 830911f6f9451d83a58043b3f9084d3caa164b7b (patch) | |
tree | f4ca4e3d86b51d66e7cecfb6b370cc4eb553e2d7 /libs/audiographer/src/debug_utils.cc | |
parent | 44f4b84551d36ef4103d09452768f5ba53e0002c (diff) |
Fix export, which has been broken since the boost::signals2 changes. Also update Audiographer, bacause of its incomplete sndfile handling. Audiographer is equal to revision 74
git-svn-id: svn://localhost/ardour2/branches/3.0@6760 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/audiographer/src/debug_utils.cc')
-rw-r--r-- | libs/audiographer/src/debug_utils.cc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libs/audiographer/src/debug_utils.cc b/libs/audiographer/src/debug_utils.cc new file mode 100644 index 0000000000..352c549f06 --- /dev/null +++ b/libs/audiographer/src/debug_utils.cc @@ -0,0 +1,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
\ No newline at end of file |