Commit graph

1980 commits

Author SHA1 Message Date
ae2efc94fb Add audio::duration::from_seconds
All checks were successful
Run tests / Run tests (push) Successful in 6m43s
2026-07-19 13:34:32 +03:00
20c3fca4b4 Add inline to audio::literals
All checks were successful
Run tests / Run tests (push) Successful in 6m50s
2026-07-19 03:35:33 +03:00
e1dfca7293 Add missing pragma once
All checks were successful
Run tests / Run tests (push) Successful in 6m49s
2026-07-19 03:28:09 +03:00
e94490cf95 Add butterworth low & high pass filters
All checks were successful
Run tests / Run tests (push) Successful in 6m58s
2026-07-19 02:16:29 +03:00
b39475d3ac Replace audio::feedforward/feedback filters with general linear filters 2026-07-19 01:48:39 +03:00
4de0499d29 Add audio envelope helper based on a sequence of linear or exponential segments
All checks were successful
Run tests / Run tests (push) Successful in 6m46s
2026-07-18 22:32:47 +03:00
748035c514 Add audio::literals to represent durations like 100_ms or 0.5_s 2026-07-18 22:32:25 +03:00
20fbb9c5ac Remove unused include 2026-07-18 22:32:04 +03:00
2d66f12707 Rename envelope -> envelope_base 2026-07-18 22:31:53 +03:00
c177911737 Add generic envelope filter and re-implement fade in/out using it 2026-07-18 19:03:56 +03:00
dbf5117dc6 Fix length computation in truncate filter 2026-07-18 19:03:29 +03:00
45fbc7399c Update to wgpu-native v29.0.1.1
All checks were successful
Run tests / Run tests (push) Successful in 7m47s
2026-07-10 17:40:56 +03:00
0d54fa7f03 Fix sdl2 CMakeLists.txt on non-apple platforms
All checks were successful
Run tests / Run tests (push) Successful in 7m37s
2026-07-09 20:59:48 +03:00
34c1a92f0b Add util::hash_table::count for compatibility
All checks were successful
Run tests / Run tests (push) Successful in 7m36s
2026-07-07 13:11:19 +03:00
664b1d613e Add io::expanding_memory_ostream that writes to std::vector<char>
All checks were successful
Run tests / Run tests (push) Successful in 7m34s
2026-07-06 22:41:38 +03:00
ae3b91e7b1 Set file stream buffers to pre-allocated 1MB chunk on web builds 2026-07-06 22:41:01 +03:00
32bbc93eea Open read-only files as r+b on web builds (apparently read-only files have perf issues) 2026-07-06 22:40:20 +03:00
6ea10520b5 Change resource & storage access logging 2026-07-06 22:39:04 +03:00
55d18aaa33 Add app::storage path and set it to WASMFS-mounted directory on web builds 2026-07-06 22:38:38 +03:00
8587ba6bc0 Update to emscripten 6 and pre-build sdl2 in web packaging image 2026-07-06 22:37:16 +03:00
f30da1a2ad Don't set pthread names in web builds 2026-07-06 22:34:36 +03:00
75471c6054 Don't link SDL2 on web (break when using multithreaded emsdk build) 2026-07-06 22:33:21 +03:00
1195bd26d5 Change resources path in web builds 2026-07-05 18:38:47 +03:00
dd07244a40 Update auto-generated opengl loaders & use shader prelude in gfx effects 2026-07-05 13:36:59 +03:00
b989eba66d Implement resource packaging for web builds
All checks were successful
Run tests / Run tests (push) Successful in 8m28s
2026-07-04 17:33:28 +03:00
ce019229bb Use larger audio buffer on web
All checks were successful
Run tests / Run tests (push) Successful in 10m37s
2026-07-04 17:01:04 +03:00
fac3503820 Prevent registering threads twice in logger
Important for web builds where audio thread coincides with main thread
2026-07-04 17:00:39 +03:00
151afec7f0 Fix app context lifetime in emscripten
All checks were successful
Run tests / Run tests (push) Successful in 7m49s
2026-07-04 16:31:34 +03:00
abf45f3dcb Fix handling key events (this also intercepts browser shortcuts, sadly) 2026-07-04 16:30:44 +03:00
7dd55d94a9 Add template html for Emscripten builds
All checks were successful
Run tests / Run tests (push) Successful in 8m11s
2026-07-04 00:46:36 +03:00
4d7926b698 Final Emscripten OpenGL fixes 2026-07-03 22:29:58 +03:00
2e94515c05 Disable parts of gfx library on web 2026-07-03 20:24:56 +02:00
bd70f197ab Use gles30-emscripten for web builds instead of gles32 2026-07-03 20:11:28 +02:00
8adb68630e Change mainloop for web builds 2026-07-03 14:28:26 +02:00
1f1feaccf3 Don't crash executable_path() on web 2026-07-03 14:28:26 +02:00
b2d34fd602 Disable GL context attributes on web 2026-07-03 14:28:26 +02:00
0b3fdd26c5 Add necessary GLES fixes and missing JS functions 2026-07-03 14:28:26 +02:00
cb4c20f071 Set up build/packaging infra for web builds
All checks were successful
Run tests / test (push) Successful in 4s
Reviewed-on: #1
2026-07-03 08:40:27 +00:00
a45d9b2779 More Emscripten build fixes 2026-07-03 11:38:03 +03:00
d290df3f29 Fix unfortunate merge 2026-07-03 11:37:38 +03:00
923cb61012 Merge remote-tracking branch 'lisyarus-dev/master' into web 2026-07-02 21:58:28 +02:00
850e376e62 Fix libbacktrace on macos 2026-07-01 12:45:32 +03:00
77d359fa52 Implement sdl2+wgpu backend for macos+metal 2026-06-30 23:47:25 +03:00
c5b8eb4f49 Fix wgpu chained_struct constructors 2026-06-30 23:46:51 +03:00
810770564e Implement util::executable_path() for macos 2026-06-30 23:46:26 +03:00
bb0c3bb178 Remove random::uniform_real_distribution copy constructor 2026-06-30 23:45:40 +03:00
056a855a32 Fix false-positive unused lambda capture in ecs::dispatcher 2026-06-30 23:45:24 +03:00
9c76feb150 Replace GNU-specific ##__VA_ARGS__ with __VA_OPT__ 2026-06-30 23:44:31 +03:00
379b1e53a0 Replace std::result_of with std::invoke_result 2026-06-30 23:43:52 +03:00
cd87a325d0 Remove template operator<< for dummy stacktrace in util::exception 2026-06-30 15:28:47 +03:00