From bf3da7b0843f1177071aa618f105c13aca320b91 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 18 Feb 2004 00:54:54 +0000 Subject: [PATCH] comment --- stepmania/src/arch/Sound/RageSoundDriver_ALSA9_Software.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;