Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/WolfireGames/overgrowth.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Sound/buffer_segment.h')
-rw-r--r--Source/Sound/buffer_segment.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/Sound/buffer_segment.h b/Source/Sound/buffer_segment.h
index 45157b3f..dde2eba6 100644
--- a/Source/Sound/buffer_segment.h
+++ b/Source/Sound/buffer_segment.h
@@ -27,9 +27,8 @@
#include <cmath>
#include <cstring>
-class BufferSegment
-{
-public:
+class BufferSegment {
+ public:
BufferSegment();
size_t FullSampleCount() const;
@@ -37,7 +36,7 @@ public:
size_t SampleSize() const;
static const size_t SAMPLE_SIZE = 2;
- static const size_t BUF_SIZE = 4096*2*SAMPLE_SIZE;
+ static const size_t BUF_SIZE = 4096 * 2 * SAMPLE_SIZE;
size_t sample_rate;
size_t channels;