diff options
author | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-06-29 18:46:46 +0000 |
---|---|---|
committer | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-06-29 18:46:46 +0000 |
commit | 2e94235e17f25efa21f71c882d315b48e9047676 (patch) | |
tree | 604a20689fb8d7d60cc884f223ee331d7948d43e | |
parent | 85746775a8ffbb68414b5f0bf7ef119530ad9dfe (diff) |
Comments
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@119 84d2e878-0bd5-11dd-ad15-13eda11d74c5
-rw-r--r-- | src/audio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/audio.c b/src/audio.c index 31646f0..25e751a 100644 --- a/src/audio.c +++ b/src/audio.c @@ -152,7 +152,7 @@ AudioContext *audio_setup(int debug) { a->sounds[i].inuse = 0; } - /* Set 16-bit stereo audio at 22Khz */ + /* 16-bit stereo audio at 44.1 kHz */ fmt.freq = 44100; fmt.format = AUDIO_S16; fmt.channels = 2; @@ -161,7 +161,6 @@ AudioContext *audio_setup(int debug) { fmt.userdata = a; fmt.silence = 0; - /* Open the audio device and start playing sound! */ if ( SDL_OpenAudio(&fmt, NULL) < 0 ) { fprintf(stderr, "Unable to open audio: %s\n", SDL_GetError()); free(a); |