Ignore:
Timestamp:
Jan 21, 2011, 8:26:58 AM (9 years ago)
Author:
sam
Message:

Reduce audio latency by using 1K samples instead of 4K.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/audio.cpp

    r253 r254  
    2525void Audio::Setup(int channels)
    2626{
    27     Mix_OpenAudio(22050, AUDIO_S16, channels, 4096);
     27    Mix_OpenAudio(22050, AUDIO_S16, channels, 1024);
    2828}
    2929
Note: See TracChangeset for help on using the changeset viewer.