|
From: Tapio V. <aa...@us...> - 2010-03-15 10:12:10
|
Module: performous
Branch: songdebug
Commit: d37f81296985daf76f92af4f9b94f0a416427e83
Author: Tapio Vierros <tap...@gm...>
Date: Thu Dec 31 13:12:03 2009 +0200
Chord count.
---
game/guitargraph.cc | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/game/guitargraph.cc b/game/guitargraph.cc
index 66d484d..320d9b5 100644
--- a/game/guitargraph.cc
+++ b/game/guitargraph.cc
@@ -836,5 +836,11 @@ void GuitarGraph::updateChords() {
}
m_chordIt = m_chords.begin();
m_scoreFactor = 10000.0 / m_scoreFactor; // normalize maximum score factor
+
+
+ std::ostringstream oss;
+ oss << "CHORDS " << m_chords.size() << std::endl;
+ std::cerr << oss.str(); // More likely to be atomic when written as one string
+
}
|