aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/audio/sdl/source.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/audio/sdl/source.h')
-rw-r--r--src/libjin/audio/sdl/source.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libjin/audio/sdl/source.h b/src/libjin/audio/sdl/source.h
index 743d4f0..2f9acb5 100644
--- a/src/libjin/audio/sdl/source.h
+++ b/src/libjin/audio/sdl/source.h
@@ -58,7 +58,7 @@ namespace audio
int rate; // Ƶ
unsigned char bitdepth; // ÿsampleıس
int samples; // sample = size / (bitdepth / 8)
- unsigned char channel; // channel12
+ unsigned char channel; // channel1(mono)2(stereo)
char silence; // 0
} raw;
@@ -83,7 +83,7 @@ namespace audio
/* Process function */
static void processCommands();
- static void processSources(Uint8* buffer, int len);
+ static void processSources(void* buffer, size_t size);
private: