This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Reduce audio latency by using 1K samples instead of 4K.
legacy
Sam Hocevar
sam
14 years ago
parent
640735731a
commit
21fd077d12
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/audio.cpp
+ 1
- 1
src/audio.cpp
View File
@@ -24,6 +24,6 @@
void Audio::Setup(int channels)
void Audio::Setup(int channels)
{
{
Mix_OpenAudio(22050, AUDIO_S16, channels,
4096
);
Mix_OpenAudio(22050, AUDIO_S16, channels,
1024
);
}
}
Write
Preview
|
|
|
|
|
|
x
0
0
0:0
Loading…
Cancel
Save