]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
snd: make SDL buffer length configurable
authorbones_was_here <bones_was_here@xonotic.au>
Wed, 4 Sep 2024 19:40:00 +0000 (05:40 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Thu, 12 Sep 2024 13:51:01 +0000 (23:51 +1000)
commit290977b6ddee64cc07d95f80bdaf45a3503baf85
tree46c69b93b7a65d4eaed3cf738aeba25974b2ae05
parent640f07df6c7ece5387a2bbc5d1840dc4c43a57db
snd: make SDL buffer length configurable

Makes it (approximately) independent of sample rate (snd_speed).

Changes the default (at 48khz) from 2048 to 1024, still not as
aggressive as some other engines.

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
snd_main.c
snd_main.h
snd_sdl.c