|
From: Yoda-JM <yo...@us...> - 2009-09-23 09:00:15
|
Module: performous
Branch: master
Commit: 4a93349c6e8e51de4152c1368bc94c88289a91ce
Author: Vincent Le Ligeour <yo...@us...>
Date: Wed Sep 23 09:58:04 2009 +0200
Fixed missing header reported by Xaldyz
---
editor/main.cc | 2 ++
game/layout_singer.hh | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/editor/main.cc b/editor/main.cc
index c7156f9..04d4ef6 100644
--- a/editor/main.cc
+++ b/editor/main.cc
@@ -29,7 +29,9 @@ int main(int argc, char **argv) {
int64_t position = 0;
std::vector<da::sample_t> sample(1500*2);
da::pcm_data data(&sample[0], 1500, 2, 48000);
+ usleep(500000);
while( mpeg.audioQueue(data, position) ) {
+ usleep(500000);
std::cout << i << ": " << position << " " << double(position) / double(48000*2)<< std::endl;
analyzer.input(data.begin(0), data.end(0));
diff --git a/game/layout_singer.hh b/game/layout_singer.hh
index 32c6931..e91aba2 100644
--- a/game/layout_singer.hh
+++ b/game/layout_singer.hh
@@ -4,6 +4,8 @@
#include "opengl_text.hh"
#include "notegraph.hh"
+#include <deque>
+
/// handles songlyrics
class LyricRow {
public:
|