projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Option --renderer to select video renderer
[supertux.git]
/
src
/
audio
/
stream_sound_source.hpp
diff --git
a/src/audio/stream_sound_source.hpp
b/src/audio/stream_sound_source.hpp
index
18b2dc9
..
aa621b3
100644
(file)
--- a/
src/audio/stream_sound_source.hpp
+++ b/
src/audio/stream_sound_source.hpp
@@
-22,11
+22,11
@@
#include <stdio.h>
#include <SDL.h>
#include <stdio.h>
#include <SDL.h>
-#include "sound_source.hpp"
+#include "
openal_
sound_source.hpp"
class SoundFile;
class SoundFile;
-class StreamSoundSource : public SoundSource
+class StreamSoundSource : public
OpenAL
SoundSource
{
public:
StreamSoundSource();
{
public:
StreamSoundSource();
@@
-51,11
+51,11
@@
public:
{
return looping;
}
{
return looping;
}
-
+
private:
static const size_t STREAMBUFFERSIZE = 1024 * 500;
static const size_t STREAMFRAGMENTS = 5;
private:
static const size_t STREAMBUFFERSIZE = 1024 * 500;
static const size_t STREAMFRAGMENTS = 5;
- static const size_t STREAMFRAGMENTSIZE
+ static const size_t STREAMFRAGMENTSIZE
= STREAMBUFFERSIZE / STREAMFRAGMENTS;
bool fillBufferAndQueue(ALuint buffer);
= STREAMBUFFERSIZE / STREAMFRAGMENTS;
bool fillBufferAndQueue(ALuint buffer);
@@
-69,4
+69,3
@@
private:
};
#endif
};
#endif
-