Commit Graph

30 Commits

Author SHA1 Message Date
PJB3005 b17b5fe405 Works a lot better now 2026-03-29 00:19:56 +01:00
PJB3005 bb92f955c8 Make the movie player work somewhat.
THPs are *almost* just a bunch of JPEGs so the TL;DR is BE fixes and replacing the decoding with libjpeg-turbo.

Needs changes to thp.h which should be removed from Aurora, will do that later.

Also audio not implemented yet.
2026-03-28 18:29:58 +01:00
PJB3005 50303bba1b Implement master volume & volume interpolation
Does not fix clicking :(

Fixes https://github.com/TakaRikka/dusk/issues/132
Fixes https://github.com/TakaRikka/dusk/issues/128
2026-03-27 14:54:03 +01:00
PJB3005 21ce0d35b0 Replace ugly cast in dusk::audio::DspRender 2026-03-27 13:35:33 +01:00
PJB3005 962193d73c Skip oscillator channels properly I think 2026-03-27 12:42:37 +01:00
Lurs 258d42b49e fix stuck note e.g. in Hyrule field 2026-03-27 12:23:41 +01:00
PJB3005 324f651683 Fix block-unaligned loop decoding 2026-03-20 19:38:49 +01:00
PJB3005 0fbb62d7dc Stop compiling some DSP-related files.
Replace it all with stubs.
2026-03-20 18:05:17 +01:00
PJB3005 3f671b028d CLion? More like CLiedToMe 2026-03-20 17:54:37 +01:00
PJB3005 6443b9fded Audio system cleanup and comments 2026-03-20 17:51:42 +01:00
PJB3005 62df53299a Attempt to allow sample rates to be changed dynamically
Doesn't fix the walking bomb things :(
2026-03-19 20:28:15 +01:00
PJB3005 36beea1fa5 How did this compile ??? 2026-03-19 20:27:46 +01:00
PJB3005 44e8bf521b Load bearing include 2026-03-19 20:07:39 +01:00
PJB3005 355c4e9556 Move the audio dumping code to a define 2026-03-19 20:06:28 +01:00
PJB3005 34e0da4a00 Skip work in ReadChannelSamples if no new samples needed 2026-03-19 20:06:02 +01:00
PJB3005 bc1e2cb31f PCM16 support
Wanted this to test something, not sure if it's used in-game
2026-03-19 20:05:47 +01:00
PJB3005 c8866854c3 Stereo audio! 2026-03-19 17:47:11 +01:00
PJB3005 2688ed93f0 Audio processing in f32 2026-03-17 00:03:35 +01:00
PJB3005 db47a6b9bd Clear history samples when resetting channel 2026-03-17 00:03:15 +01:00
PJB3005 0b9bcc7e08 Only mark channel as finished when resample buffer is empty
Does not fix the audio corruption but necessary either way
2026-03-16 14:27:27 +01:00
PJB3005 247b04379a Output as F32
This completely fucks up audio. Pending debugging to figure out why
2026-03-16 13:57:04 +01:00
PJB3005 3d90854579 Ignore oscillator channels
Idk if these show up yet but they did when the BMS stuff was broken
2026-03-15 20:36:04 +01:00
PJB3005 baf10b6b4e Basic volume control, no panning yet 2026-03-15 20:35:30 +01:00
PJB3005 07892dbe28 Allow decoding less PCM samples than a full frame 2026-03-15 20:35:06 +01:00
PJB3005 2c84387ec9 Implement DSP pause somewhat 2026-03-15 01:32:13 +01:00
PJB3005 5eaec7360b Resample audio with SDL3 2026-03-14 15:50:39 +01:00
PJB3005 7eaabe6ecc We have audio!! 2026-03-14 14:03:10 +01:00
PJB3005 9e5202787b ADPCM4 decode impl 2026-03-14 14:02:15 +01:00
PJB3005 9dbade65d4 Basic audio system start 2026-03-14 14:02:13 +01:00
PJB3005 fa139ecf5c Implement JASCriticalSection with a regular mutex 2026-03-14 13:49:16 +01:00