Stephen Gutekanst
7bc7caaec4
sysaudio: improve compatibility with self-hosted compiler
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-20 11:41:15 -07:00
Stephen Gutekanst
d3f0d9938e
sysaudio: improve compatibility with -fno-stage1
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-15 21:33:21 -07:00
Stephen Gutekanst
4b23c3be62
sysaudio: fix requestDevice from descriptor
...
Fixes hexops/mach#438
Was caused by an inverted `strcmp`: 0cdeb770ac
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-12 15:46:36 -07:00
Ali Chraghi
b500b04c41
all: build: install tests exe
2022-07-25 11:21:37 -07:00
alichraghi
e6adc3e350
build: add mode paramater to testStep functions
2022-07-20 18:55:59 -07:00
alichraghi
d194dafb79
build: add test-mach step to test src/ and test for testing all sub-projects
2022-07-19 09:25:55 -07:00
alichraghi
08cfc2368f
sysaudio: skip "requestDevice behavior: invalid id" test
2022-07-19 09:25:55 -07:00
iddev5
d12ba02c38
sysaudio: webaudio: Implement audio playback using data_callback
...
Supports passing user context as well as provides the current device.
2022-07-17 09:48:26 -07:00
iddev5
c22e54bcd7
sysaudio: webaudio: Set internal buffer size to 512
...
It was 4096 before. Lower values means lower latency but higher values
are needed for clear audio. It should be properly tested across multiple
browsers to find out the correct default value, or create a formula to
auto calculate it. It should always be a multiple of 2 in the range 256,
512, ..., 8192, 16384.
2022-07-17 09:48:26 -07:00
alichraghi
be9d2b431f
{frreetype,sysaudio}: use std.refAllDeclsRecursive
...
added to stdlib via #12103
2022-07-17 09:26:29 -07:00
iddev5
94c4d3a679
sysaudio: webaudio: Use device descriptor to create suitable audio
...
context
2022-07-14 21:55:32 -07:00
iddev5
43936df45b
sysaudio: webaudio: Add device start and pause
2022-07-14 21:55:32 -07:00
iddev5
21f3efe78e
sysaudio: webaudio: Add intitial implementation and boilerplate
2022-07-14 21:55:32 -07:00
iddev5
a3b9bb7469
sysaudio: Add mach-sysjs dependency and prepararation for WebAudio backend
2022-07-14 21:55:32 -07:00
alichraghi
f8f4dcf55f
audio: rename to 'sysaudio'
2022-07-13 01:31:08 -07:00