diff options
author | s_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-03-06 03:59:31 +0000 |
---|---|---|
committer | s_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-03-06 03:59:31 +0000 |
commit | 09e53466cd18092dd30944c18cc89c3c567e7b7c (patch) | |
tree | 531c454b3e07d5faf359b93e95cfc01a180acef5 /Game/Code/Classes/UAudioPlayback_SDL.pas | |
parent | 36e04782552fde9e26710f29f453d574b2ee9c0b (diff) | |
download | usdx-09e53466cd18092dd30944c18cc89c3c567e7b7c.tar.gz usdx-09e53466cd18092dd30944c18cc89c3c567e7b7c.tar.xz usdx-09e53466cd18092dd30944c18cc89c3c567e7b7c.zip |
add ini file option SDLBufferSize to set the buffersize for the sdl playback driver (not in config screen yes)
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@917 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes/UAudioPlayback_SDL.pas')
-rw-r--r-- | Game/Code/Classes/UAudioPlayback_SDL.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Code/Classes/UAudioPlayback_SDL.pas b/Game/Code/Classes/UAudioPlayback_SDL.pas index 5dc664fa..1ea0c5b7 100644 --- a/Game/Code/Classes/UAudioPlayback_SDL.pas +++ b/Game/Code/Classes/UAudioPlayback_SDL.pas @@ -67,7 +67,7 @@ begin freq := 44100;
format := AUDIO_S16SYS;
channels := 2;
- samples := 1024; // latency: 23 ms
+ samples := Ini.SDLBufferSize;
callback := @SDLAudioCallback;
userdata := Self;
end;
|