projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switched magnification to percentage, added black-border as alternative to scale
[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
de1dbc0
..
aa621b3
100644
(file)
--- a/
src/audio/stream_sound_source.hpp
+++ b/
src/audio/stream_sound_source.hpp
@@
-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
-