dungeon_crawler
view prototype/src/audio/ovstream.h @ 53:1ea56011c1ff
stuff + streaming start
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 19 Sep 2012 01:08:41 +0300 |
parents | |
children | 4c427e28ca00 |
line source
1 #ifndef OVSTREAM_H_
2 #define OVSTREAM_H_
4 #include <vorbis/vorbisfile.h>
5 #include "stream.h"
7 class OggVorbisStream : public AudioStream {
8 private:
9 OggVorbis_File vf;
11 virtual bool more_samples();
13 public:
14 OggVorbisStream();
15 virtual ~OggVorbisStream();
17 bool open(const char *fname);
18 void close();
19 };
21 #endif // OVSTREAM_H_