mach/libs/sysaudio
Stephen Gutekanst b72c2c978f sysaudio: target a desired buffer size / latency instead of assuming maximum
On most platforms the maximum amount of frames we can write is reasonable and
provides rarely noticable latency, but on some platforms (e.g. Windows prior
to Mason's patch) this is not true. It's a good idea therefor to target a
desired buffer size / number of frames to write per update, which is also exactly
what we must decide on the WebAudio backend. For now this is hard-coded in sysaudio
but we will expose this as a config option soon.

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-09-09 22:34:43 -07:00
..
.github all: update pull request template to reflect new libs/ dir 2022-08-26 15:12:04 -07:00
examples all: move standalone libraries to libs/ subdirectory 2022-08-26 15:12:04 -07:00
libs sysaudio: switch to sdk builder pattern for system_sdk access 2022-09-10 04:06:16 +00:00
soundio all: revert cimport workaround 2022-09-07 21:24:47 -07:00
src sysaudio: target a desired buffer size / latency instead of assuming maximum 2022-09-09 22:34:43 -07:00
upstream@56c1f298c2 sysaudio: fix buffer size on Windows 2022-09-09 22:32:17 -07:00
.gitattributes all: move standalone libraries to libs/ subdirectory 2022-08-26 15:12:04 -07:00
.gitignore all: move standalone libraries to libs/ subdirectory 2022-08-26 15:12:04 -07:00
.gitmodules all: move standalone libraries to libs/ subdirectory 2022-08-26 15:12:04 -07:00
build.zig {sysjs,mach}: correctly pass sysjs dependency to sdk 2022-09-09 21:55:38 -07:00
LICENSE all: move standalone libraries to libs/ subdirectory 2022-08-26 15:12:04 -07:00
LICENSE-APACHE all: move standalone libraries to libs/ subdirectory 2022-08-26 15:12:04 -07:00
LICENSE-MIT all: move standalone libraries to libs/ subdirectory 2022-08-26 15:12:04 -07:00
main.zig all: move standalone libraries to libs/ subdirectory 2022-08-26 15:12:04 -07:00
sdk.zig {sysjs,mach}: correctly pass sysjs dependency to sdk 2022-09-09 21:55:38 -07:00