From b221c56a6bb90de4631f4b2eb999db8dad05a006 Mon Sep 17 00:00:00 2001 From: rodri Date: Sun, 1 Oct 2023 00:06:50 +0000 Subject: add a mixer and some background sfx. also postponed the connection establishment until the subsystem initialization is complete. there's no point in taking a seat you're going to leave milliseconds after a local resource failure. --- mixer.h | 123 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 mixer.h (limited to 'mixer.h') diff --git a/mixer.h b/mixer.h new file mode 100644 index 0000000..81e22ee --- /dev/null +++ b/mixer.h @@ -0,0 +1,123 @@ +/* + * standalone sound mixer based on rxi's cmixer. + */ +enum { + FIXED_BITS = 12, + FIXED_UNIT = 1<