Lines 1-20
Link Here
|
1 |
--- linux/sdllink.c.orig Mon May 31 01:15:18 2004 |
|
|
2 |
+++ linux/sdllink.c Mon May 31 01:16:17 2004 |
3 |
@@ -493,7 +493,7 @@ |
4 |
int InitSound(void) |
5 |
{ |
6 |
SDL_AudioSpec wanted; |
7 |
- const int samptab[7] = { 1, 1, 2, 4, 2, 4, 4 }; |
8 |
+ const int samptab[7] = { 64, 64, 128, 256, 128, 256, 256 }; |
9 |
const int freqtab[7] = { 8000, 11025, 22050, 44100, 16000, |
10 |
SDL_CloseAudio(); |
11 |
@@ -519,7 +519,7 @@ |
12 |
wanted.channels = 1; |
13 |
} |
14 |
|
15 |
- wanted.samples = samptab[SoundQuality] * 128 * wanted.channels; |
16 |
+ wanted.samples = samptab[SoundQuality] * 8 * wanted.channels; |
17 |
wanted.format = AUDIO_S16LSB; |
18 |
wanted.userdata = NULL; |
19 |
wanted.callback = UpdateSound; |