aboutsummaryrefslogtreecommitdiff
path: root/src/audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio.c')
-rw-r--r--src/audio.c3
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);