Henrik Rydgård
63c997b973
Fix an ordering issue in Atrac context creation
2025-03-16 22:46:44 +01:00
Henrik Rydgård
b7782d98f3
Prepare for Atrac context data to work the new way. Not actually active yet. Also restrict old versions to 4 contexts.
2025-03-16 19:32:03 +01:00
Henrik Rydgård
4fbdb58beb
Merge the "Analyze" function into SetData
2025-03-16 19:32:00 +01:00
Henrik Rydgård
3979b6af54
Combine the two Analyze functions
2025-03-16 12:59:32 +01:00
Henrik Rydgård
fe0edc0bda
One more cleanup before merging Analyze and SetData...
2025-03-16 12:44:16 +01:00
Henrik Rydgård
8ab41e387e
Reorganize to make the next step easier
2025-03-16 12:21:55 +01:00
Henrik Rydgård
bcf89754c7
First step: Split out the track analysis.
2025-03-16 12:21:55 +01:00
Henrik Rydgård
c6ea7cfd15
Delay fix
2025-03-16 11:57:09 +01:00
Henrik Rydgård
6a4a46025b
Remove now-unnecessary wrapper _AtracSetData
2025-03-16 11:32:00 +01:00
Henrik Rydgård
3d143a0cba
Finally get rid of the GetTrack() accessor
2025-03-16 11:29:00 +01:00
Henrik Rydgård
a3b43d8283
Refactor CurrentSample and ResetPlayPosition
2025-03-16 11:18:33 +01:00
Henrik Rydgård
fd9564166b
More GetTrack removal
2025-03-16 11:06:52 +01:00
Henrik Rydgård
b406f3a9d1
Move the GetSoundSample implementation behind the AtracBase interface
2025-03-16 09:48:13 +01:00
Henrik Rydgård
5bd1ae5bae
Move more validation logic into AtracBase
2025-03-16 09:48:13 +01:00
Henrik Rydgård
beaced1c87
Move loop status and reset info param validation in behind the AtracBase interface
2025-03-16 09:48:13 +01:00
Henrik Rydgård
9788a770a7
Add a DecodeLowLevel wrapper to the AtracBase interface
2025-03-16 09:47:36 +01:00
Henrik Rydgård
c33a86561f
Remove the strange "successCode" argument to SetData
2025-03-16 09:00:27 +01:00
Henrik Rydgård
a0b8ceb63c
Move logging out of _AtracSetData
2025-03-16 08:53:22 +01:00
Henrik Rydgård
17d7dcdd6c
Make sceUtilityLoadAvModule work correctly
2025-03-15 17:40:24 +01:00
Henrik Rydgård
adbceabd93
Show fake-loaded HLE modules in the debugger. Notify Atrac of its address when one is loaded
...
Will be useful later.
2025-03-15 15:56:11 +01:00
Henrik Rydgård
812b22a224
Atrac: Forward-port comments from the other branches
2025-03-08 23:39:15 +01:00
Henrik Rydgård
65df2bf016
ImDebugger: Add log config window, improve atrac window
2025-03-07 13:47:31 +01:00
Henrik Rydgård
0f9c97c2a0
Another big batch of logging cleanup
2025-03-05 17:02:46 +01:00
Henrik Rydgård
607f4cc3e5
More
2025-03-05 17:02:46 +01:00
Henrik Rydgård
759726814c
Update Atrac::SetData
2025-03-05 17:02:46 +01:00
Henrik Rydgård
1678c141ba
Update Atrac->Analyze
2025-03-05 17:02:46 +01:00
Henrik Rydgård
d88487e7fd
Update AA3Analyze
2025-03-05 17:02:46 +01:00
Henrik Rydgård
7e3e944e3b
Update GetSecondBufferInfo
2025-03-05 17:02:46 +01:00
Henrik Rydgård
1553614756
Update sceAtracAddStreamData
2025-02-24 14:29:28 -06:00
Henrik Rydgård
e45f9f63a4
Update AtracValidateData/AtracValidateManaged
2025-02-24 12:53:10 -06:00
Henrik Rydgård
e8f5009d36
Update SetSecondBuffer
2025-02-24 12:49:48 -06:00
Henrik Rydgård
5ac7b8b9ee
Rename the Atrac errors to match the pattern
2025-02-24 12:49:44 -06:00
Henrik Rydgård
59a4eb0ea5
Add Atrac error codes to the big enum
2025-02-24 12:07:21 -06:00
Henrik Rydgård
f206ed95eb
Get rid of remains of support for non-square screen DPIs
2025-02-20 11:14:26 -06:00
Henrik Rydgård
28b2c7f540
HLE log rename part 1: Remove duplicate log functions. Return type should be determined by metadata.
2025-01-29 09:45:39 +01:00
Henrik Rydgård
2523690584
Flip around so sceDelayResult is always outermost. Start using HLECall.
2025-01-20 12:20:18 +01:00
Henrik Rydgård
083543cc14
Unrelated logging improvement
2025-01-03 21:14:22 +01:00
Henrik Rydgård
2eaffcf510
ImDebugger: Add atrac context viewer
2024-11-15 15:59:16 +01:00
Henrik Rydgård
0af3a87d3f
For the release, disable "Use experimental atrac". Doesn't make sense yet.
2024-10-22 11:02:26 +02:00
Henrik Rydgård
99a65f3a0a
Implement the fallback path from OpenGL to Vulkan
2024-09-16 12:34:37 +02:00
Henrik Rydgård
5d4f413085
Demote a very common log message from ERROR to DEBUG
2024-07-23 22:17:06 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
8bfba2ce35
Fix mono audio with sceAtracLowLevelDecode.
...
Fixes #19117
2024-05-10 13:36:37 +02:00
Henrik Rydgård
917f5897bd
Add back a lost-in-refactoring hack for the SasAudio/sceAtrac integration.
...
Fixes #19075
2024-04-29 19:58:11 +02:00
Henrik Rydgård
7d46f5a0a8
Merge pull request #19074 from hrydgard/more-atrac-updates
...
More sceAtrac code cleanup and comments
2024-04-17 01:37:27 +02:00
Henrik Rydgård
f05f9a6de3
Code cleanup and comments
2024-04-16 22:54:53 +02:00
Henrik Rydgård
1b366afa35
Refactor: Change *outBytes to *outSamples in AudioDecoder::Decode.
2024-04-16 15:31:11 +02:00
Henrik Rydgård
f3d6c93339
Add empty AtracCtx2 implementation, and a dev setting to select it. Savestates don't work.
2024-04-15 13:50:16 +02:00
Henrik Rydgård
5e8a46fde0
Slim down the AtracBase class
2024-04-15 12:50:51 +02:00
Henrik Rydgård
6c648a2cdd
Use AtracBase instead of Atrac in sceAtrac (so now we can replace it)
2024-04-15 12:50:51 +02:00