diff --git a/stepmania/src/arch/Sound/RageSoundDriver_ALSA9_Software.cpp b/stepmania/src/arch/Sound/RageSoundDriver_ALSA9_Software.cpp index 9dcd687fb4..cc6544d00b 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_ALSA9_Software.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_ALSA9_Software.cpp @@ -20,7 +20,8 @@ int samplerate = 44100; const int samples_per_frame = channels; const int bytes_per_frame = sizeof(Sint16) * samples_per_frame; -/* Linux 2.6 has a fine-grained scheduler; use a small buffer size. Otherwise, use a larger one. */ +/* Linux 2.6 has a fine-grained scheduler. We can almost always use a smaller buffer + * size than in 2.4. XXX: Some cards can handle smaller buffer sizes than others. */ static const unsigned max_writeahead_linux_26 = 512; static const unsigned safe_writeahead = 1024*4; static unsigned max_writeahead;