Audio: Best settings on all platforms.

After numerous tests, I have found the perfect audio settings. It seems samples now needs to be 2048 for everyone. Buffer needs to be 8192. Anything else gets a patchy noise. None of these platforms were using the right audio settings. Qt and SDL now sound perfect but Blackberry still doesn't (OpenAL thing?).
This commit is contained in:
Sacha committed 2013-10-22 13:29:34 +10:00
1 parent dbef0b21a9
commit 6986edb978
3 files changed
+12 -10

No files matched your search

+1 -1
View File
@@ -523,7 +523,7 @@ int main(int argc, char *argv[]) {
fmt.freq = 44100;
fmt.format = AUDIO_S16;
fmt.channels = 2;
fmt.samples = 1024;
fmt.samples = 2048;
fmt.callback = &mixaudio;
fmt.userdata = (void *)0;