medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit f9aa154b7db068c57897dc047ee29150cb5d018c
parent 24384cc31a6ea43b7d92f0e6bf967c0b5cabf6d7
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun Jan 17 23:25:12 +0000

Shrink audio buffer to 2048 samples

Diffstat:
linux_audio.cc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux_audio.cc b/linux_audio.cc @@ -24,7 +24,7 @@ static MemoryArena mix_arena; static THREAD( mix_worker ) { snd_pcm_t * pcm = ( snd_pcm_t * ) data; - s16 samples[ 4096 ]; + s16 samples[ 2048 ]; AudioOutputBuffer buffer; buffer.sample_rate = sample_rate; buffer.num_samples = array_count( samples );