Commit graph

470 commits

Author SHA1 Message Date
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
Henrik Rydgård
14f141b1b8 Split Atrac into AtracBase and Atrac 2024-04-15 12:50:50 +02:00
Henrik Rydgård
d03f2a5888 Atrac: Add missing accessors 2024-04-15 12:50:50 +02:00
Henrik Rydgård
a866e07082
Merge pull request #19063 from hrydgard/atrac-change-databuf-check
atrac: Change the databuf check in sceAtracDecodeData
2024-04-15 12:50:38 +02:00
Henrik Rydgård
4680d87fcd Change the databuf check in sceAtracDecodeData
Making a separate commit for bisection's sake.
2024-04-15 12:19:39 +02:00
Henrik Rydgård
d402068745 Fix mono output from Atrac decoders. (sceAtrac*MOut* functions) 2024-04-15 11:50:32 +02:00
Henrik Rydgård
fcf0d8e06e Add an outputChannels parameter to SetData to simplify the code 2024-04-15 11:16:03 +02:00
Henrik Rydgård
9d0dac5acb Move channels into Track 2024-04-15 11:13:47 +02:00
Henrik Rydgård
fe17ff6e69 Move loop info into Track 2024-04-15 11:12:47 +02:00
Henrik Rydgård
15b71af95f Move endSample into track_ 2024-04-15 11:12:45 +02:00
Henrik Rydgård
3f96f69b70 Move firstSampleOffset_ into Track 2024-04-15 11:08:47 +02:00
Henrik Rydgård
babf2e1a3a Move codecType_ into track_ 2024-04-15 11:06:40 +02:00
Henrik Rydgård
efd9962c6e Start separating out static track parameters: Move first_.filesize to track_.fileSize 2024-04-15 11:06:40 +02:00
Henrik Rydgård
c9f5ccee3e Add comment 2024-04-15 11:06:11 +02:00
Henrik Rydgård
0f0149d08b Split out the Atrac context class into AtracCtx.cpp/h 2024-04-14 14:48:42 +02:00
Henrik Rydgård
9bb136f871 Remove an unnecessary enum 2024-04-14 14:48:41 +02:00
Henrik Rydgård
35578f0a2e More member functions 2024-04-14 11:25:19 +02:00
Henrik Rydgård
eeaa3c8445 Make more functions member functions of Atrac 2024-04-14 10:55:17 +02:00
Henrik Rydgård
7d3fc65478 Make Decode and GetResetBufferInfo member functions of Atrac. 2024-04-14 10:48:01 +02:00
Henrik Rydgård
eef667c5ac Separate the external interface used by sceSas 2024-04-14 10:40:12 +02:00
Henrik Rydgård
09be5935ab Add accessor for bufferState_, cleanup 2024-04-14 10:26:41 +02:00
Henrik Rydgård
effae82208 sceAtrac: Do some renaming to make things make more sense 2024-04-13 10:35:39 +02:00
Henrik Rydgård
a1ac79c183 Remove all remaining FFMPEG use from sceAtrac. 2024-04-13 00:45:25 +02:00
Henrik Rydgård
242a87b2dd Inline FillPacket to make the next step easier 2024-04-13 00:26:37 +02:00
Henrik Rydgård
ea07fdbd86 sceAtrac: Create standalone decoders as well as ffmpeg. Implement LowLevelDecode. 2024-04-13 00:19:04 +02:00
Henrik Rydgård
683a30e964 Remove more indentation 2024-04-12 14:25:46 +02:00
Henrik Rydgård
6bed7137f7 Remove excessive indentation 2024-04-12 14:25:46 +02:00
Henrik Rydgård
ba42c07cfc _AtracDecodeData: Restructure the inner loop a bit. 2024-04-12 14:25:46 +02:00
Henrik Rydgård
1692922cd8 Use proper returns in _AtracDecodeData 2024-04-12 14:25:46 +02:00
Henrik Rydgård
c43442f801 Improve and cleanup logging in sceAtrac 2024-04-12 13:53:17 +02:00
Henrik Rydgård
39b884cfb3 Atrac3/3+: Improve error handling 2024-04-12 11:18:26 +02:00
Henrik Rydgård
ff372f878d Minor code cleanup 2024-04-11 16:54:29 +02:00
Herman Semenov
f625f18eba [GPU/HLES] 'fs' its already NULL, removed excess delete and bufferState_ always ATRAC_STATUS_HALFWAY_BUFFER 2024-04-11 14:52:55 +03:00
Andrew Udvare
930b7f644d ffmpeg: Improved fix for checking if const AVCodec* is necessary 2024-02-05 14:37:09 -05:00