summaryrefslogtreecommitdiff
path: root/libs/audiographer/src/debug_utils.cc
diff options
context:
space:
mode:
authorSakari Bergen <sakari.bergen@beatwaves.net>2010-03-15 19:11:48 +0000
committerSakari Bergen <sakari.bergen@beatwaves.net>2010-03-15 19:11:48 +0000
commit830911f6f9451d83a58043b3f9084d3caa164b7b (patch)
treef4ca4e3d86b51d66e7cecfb6b370cc4eb553e2d7 /libs/audiographer/src/debug_utils.cc
parent44f4b84551d36ef4103d09452768f5ba53e0002c (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.cc26
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