Commit Graph
84 Commits
Author SHA1 Message Date
Henrik Rydgård d0eea81fe6 Fix typo in mono atrac initialization. Fixes crash in StormBasic homebrews 2025-08-14 22:09:50 +02:00
Henrik Rydgård f41bd18a8e Allow Atrac files to be accepted with a little less data provided initially
Fixes #20692
2025-08-04 19:31:35 +02:00
Henrik Rydgård 4d7b51d8cb Reimplement AA3 header parsing 2025-07-22 17:48:20 +02:00
Henrik Rydgård ffb1e01e7e Fix shutdown performance regression 2025-06-26 11:06:21 +02:00
Henrik Rydgård 0fc7d430b4 Reimplement wave parsing more simply, for AtracCtx2. 2025-06-26 11:06:18 +02:00
Henrik Rydgård 5c77ff9147 Atrac: Rework the header dependencies 2025-06-25 11:34:07 +02:00
Henrik Rydgård 33fd29faad Add a sanity check 2025-06-25 01:08:51 +02:00
Henrik Rydgård 6df9e513c1 Logging, comments and debugger fixes, plus simple dumping of the first block of streaming Atrac3 2025-06-25 01:08:47 +02:00
Henrik Rydgård ea29fd284f sceAtrac: Logging improvements, constification (and not) 2025-06-24 21:36:04 +02:00
Henrik Rydgård 43e79aba55 Give Mpeg and Atrac their own log categories 2025-06-24 21:36:04 +02:00
Henrik Rydgård 1f5064d582 Disable error return value in sceAtracLowLevelDecode
See issue #20452
2025-06-06 11:01:34 +02:00
Henrik Rydgård 5260be6f69 Warning fixes, alignment checks 2025-05-15 09:48:23 +02:00
Henrik Rydgård f7ff2e2d20 Remove redundant constants 2025-04-12 11:35:55 +02:00
Henrik Rydgård 693f84d2fb sceAtrac logspam reduction 2025-04-11 13:12:14 +02:00
Henrik Rydgård a555fe8924 Partially implement sceReg 2025-04-03 14:13:50 +02:00
Henrik Rydgård 2af71d049b Lost this behavior by mistake. Should fix the tests. 2025-03-25 23:27:43 +01:00
Henrik Rydgård 96ca0e95f3 Cleanup logging 2025-03-25 22:01:33 +01:00
Henrik Rydgård c418513fa5 Fix bad check, add some comments
And remove unneded initial text.
2025-03-25 22:01:33 +01:00
Henrik Rydgård 5ea7729f66 More work on atrac-through-sas 2025-03-25 22:01:33 +01:00
Henrik Rydgård 172e54286e Refactor a bit to make it easier to expose the streaming state to the debugger. 2025-03-25 22:01:33 +01:00
Henrik Rydgård 1bd5cffa1d Initial work on re-implementing atrac-through-sas 2025-03-25 22:01:30 +01:00
Henrik Rydgård eb251af964 Create decodeTemp_ on demand. Fixes #20150 2025-03-25 00:30:31 +01:00
Henrik Rydgård 3e15d97be8 New atrac: A safety check in DecodeInternal 2025-03-25 00:01:55 +01:00
Henrik Rydgård 0f840e6240 Move JPEG error codes to the big enum, some include cleanup 2025-03-21 20:44:46 +01:00
Henrik Rydgård e3297d84f5 Fix pointer incrementes with low level decoder 2025-03-20 13:30:49 +01:00
Henrik Rydgård 0aec6aeddd Fix silly logic error in Atrac2 2025-03-19 18:17:47 +01:00
Henrik Rydgård e70dd3b2df Break out AtracTrack into its own file. Add a little atrac analysis tool to ImDebugger (for future use) 2025-03-19 16:15:51 +01:00
Henrik Rydgård eff9bd1fc3 mpeg: Minor cleanup 2025-03-19 11:41:17 +01:00
Henrik Rydgård ec169e9fa9 Sol Trigger fix 2025-03-19 11:41:13 +01:00
Henrik Rydgård da2b3fdd13 Warning fixes. Don't clamp readsize to reported file size. 2025-03-19 10:42:32 +01:00
Henrik Rydgård c5ad1548bc Add simple AT3 dumping (non-streaming only) 2025-03-19 10:42:32 +01:00
Henrik Rydgård 6d7625ea6b Implement save state support, with backwards compatibility. 2025-03-18 09:36:33 +01:00
Henrik Rydgård 89a73be155 Compute the joint-stereo flag as needed instead of storing it. 2025-03-18 09:36:33 +01:00
Henrik Rydgård 01076d2a4f InitLowLevel parameter cleanup 2025-03-18 09:36:33 +01:00
Henrik Rydgård 4a4332b22e Remove hack where we snuck AtracID into the contexts. Not suppose to be there. 2025-03-18 09:36:33 +01:00
Henrik Rydgård 34c21ed271 track_ removal, part 2 - done! 2025-03-18 09:36:33 +01:00
Henrik Rydgård 02f06faad1 Atrac2 track_ removal, part 1 2025-03-18 09:36:33 +01:00
Henrik Rydgård 5363159610 Error return fixes 2025-03-18 09:36:33 +01:00
Henrik Rydgård 4379c1ad49 Rebase fixups 2025-03-18 09:36:33 +01:00
Henrik Rydgård bb436cda8f Reimplement a lot of logic, implement loop streaming properly 2025-03-18 09:36:33 +01:00
Henrik Rydgård b99348383c Some new findings, loop work 2025-03-18 09:36:33 +01:00
Henrik Rydgård 4d7a8b8233 Some type and comment cleanup 2025-03-18 09:36:33 +01:00
Henrik Rydgård 926a5623d1 Improve comments 2025-03-18 09:36:33 +01:00
Henrik Rydgård 9cc7bab3a5 Implement the simplest looping case (fully loaded audio) 2025-03-18 09:36:33 +01:00
Henrik Rydgård 92737be87e Minor simplification 2025-03-18 09:36:33 +01:00
Henrik Rydgård deff5ce513 Correct the stream buffering logic to allow for adding unaligned amounts to the buffer. This also simplifies it. 2025-03-18 09:36:33 +01:00
Henrik Rydgård f4fe91beae Remove unnecessary state variable, fix reset-seeks to fractional positions 2025-03-18 09:36:33 +01:00
Henrik Rydgård da27e2a93f Fix seeking to offsets other than 0 in a couple of the modes 2025-03-18 09:36:33 +01:00
Henrik Rydgård e99688fd93 Fix buffer sizing issue for mono tracks 2025-03-18 09:36:33 +01:00
Henrik Rydgård 9623cd4897 Fix playback of fully loaded tracks, fix memory leak 2025-03-18 09:36:33 +01:00