dungeon_crawler

view prototype/src/audio/stream.h @ 53:1ea56011c1ff

stuff + streaming start
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 19 Sep 2012 01:08:41 +0300
parents
children 995191474cc0
line source
1 #ifndef AUDIO_STREAM_H_
2 #define AUDIO_STREAM_H_
4 #include <thread>
6 class AudioStream {
7 private:
8 std::thread play_thread;
10 virtual bool more_samples() = 0;
12 public:
13 virtual ~AudioStream();
15 void play();
16 void stop();
17 };
19 #endif // AUDIO_STREAM_H_