Commit Graph
16 Commits
Author SHA1 Message Date
kichikuou ff31d03153 Implement mus_vol_set_valance()
Apply the System39.ini volume valancer levels to audio output, so the
Volume controller dialog actually adjusts per-channel volumes. PCM scales
its chunk volume by the channel mapped via the .wai file, and BGM scales
its music volume by valancer channel 0.

Fixes #62.
2026-06-29 11:44:22 +09:00
kichikuou d063655b25 Refactor muspcm_* interface 2025-02-02 13:52:54 +09:00
kichikuou d14b42c146 Replace boolean/TRUE/FALSE with bool/true/false 2025-02-02 10:02:08 +09:00
kichikuou dde697d3b4 Implement S3xMusic HLL
Used in Ore no Shita de Agake.

Since the musbgm_* interface does not allow multiple channels, this
implementation uses musbgm_* for channel 0 and muspcm_* for channel 1.
2025-01-07 15:41:43 +09:00
kichikuou 42e994dfba emscripten: Use EM_ASYNC_JS 2024-07-31 08:59:33 +09:00
kichikuou a6aa50b5cf emscripten: Use MODULARIZE=1 2024-07-30 12:30:50 +09:00
kichikuou d9f635a6d0 Implement SV command 2023-01-28 09:53:44 +09:00
kichikuou f5b3b1a936 Support ShSound module on WASM 2023-01-21 16:40:26 +09:00
kichikuou ff62533faf Add reset functions for audio subsystems 2022-06-26 16:30:48 +09:00
kichikuou 627f4ba846 Introduce pcm.emscripten.c 2019-08-04 09:12:43 +09:00
kichikuou f852a7e73a Move pcm implementation to library.js 2018-02-04 23:42:58 +09:00
kichikuou 9f945f89a1 Use EMTERPRETIFY_SYNCLIST 2018-02-04 11:25:29 +09:00
kichikuou ca408e24f1 Simplify PCM volume control 2017-03-23 21:00:48 +09:00
kichikuou f1e37a425a Cleanup 2017-03-20 19:51:41 +09:00
kichikuou 8209eb2e10 Cache audio buffers 2017-03-20 19:39:50 +09:00
kichikuou 2850ca3152 Emscripten PCM backend 2017-03-20 16:17:23 +09:00