Commit Graph
13075 Commits
Author SHA1 Message Date
Henrik Rydgård aec3fa99e5 Merge pull request #19032 from GermanAizek/fix-always-false-true
Fixed conditions always false using unsigned type and logical AND 0x0 & 0x4
2024-04-13 11:28:45 +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 c2bcdd3076 Buildfix with system ffmpeg 2024-04-12 16:45:45 +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
Henrik Rydgård 5ed77b58ca Improve the AudioDecoder API to avoid having to call a function to get the bytes consumed 2024-04-11 16:49:00 +02:00
Henrik Rydgård 45936e8826 Atrac: Add "flush_buffers" api. The ffmpeg atrac decoder was missing this. 2024-04-11 16:35:27 +02:00
Henrik Rydgård 58cb2ba804 Fix playback of atrac3+ when block align not specified 2024-04-11 16:10:31 +02:00
Herman Semenov 8e580045cd Fixed condition always false using unsigned int and logical AND 0 & 4 2024-04-11 16:56:59 +03:00
Henrik Rydgård b35b351802 Finally remove the AVCodecContext 2024-04-11 14:50:29 +02:00
Henrik Rydgård 6ea8efc0e9 Bypass AvCodecContext for atrac3plus, for a simpler API. 2024-04-11 14:39:59 +02:00
Henrik Rydgård bf280eb410 Remove "SetExtraData" from AudioDecoder, pass in the data at creation instead 2024-04-11 14:39:59 +02:00
Henrik Rydgård 33ba30694a Revert "Disable FFMPEG temporarily to avoid symbol clashes"
This reverts commit 14222f5977e8aa0c167e8879450d84d77df3b1a2.
2024-04-11 14:39:59 +02:00
Henrik Rydgård 416ba81d20 Remove the channel_layout stuff 2024-04-11 14:39:59 +02:00
Henrik Rydgård e871133fe6 Buildfixes 2024-04-11 14:39:59 +02:00
Henrik Rydgård 0d30728832 Remove context parameter from av_log 2024-04-11 14:39:59 +02:00
Henrik Rydgård e10b90b718 Switch at3_standalone to C++ to avoid namespace clashes 2024-04-11 14:39:59 +02:00
Henrik Rydgård d617aec8c8 Simplify away AVFrame from decoding functions, remove buffer pools 2024-04-11 14:39:59 +02:00
Henrik Rydgård 08d5de9f4c Remove opt, dict, more 2024-04-11 14:39:59 +02:00
Henrik Rydgård c6c67695b1 Hook up ATRAC3 too 2024-04-11 14:39:59 +02:00
Henrik Rydgård 8fbc4a3379 Ultra-gross hackery, but works! Now, need to pare it down, heavily... 2024-04-11 14:39:59 +02:00
Henrik Rydgård fb906481cc Disable FFMPEG temporarily to avoid symbol clashes 2024-04-11 14:39:59 +02:00
Henrik Rydgård c902973688 Setup more of the setup 2024-04-11 14:39:59 +02:00
Henrik Rydgård 8d4716cab6 WIP: Add AT3/AT3plus files, get it to compile (though will fail to link if we use it) 2024-04-11 14:39:59 +02:00
Henrik Rydgård db929ea042 Use minimp3 for in-game mp3 decoding. Doesn't solve any issues it seems, but works like before. 2024-04-11 14:19:22 +02:00
Henrik Rydgård 3de85c8d14 Remove more unnecessary accessors 2024-04-11 14:18:07 +02:00
Henrik Rydgård 423e3d3338 Merge pull request #19035 from GermanAizek/fix-always
[GPU/HLES] 'fs' its already NULL, removed excess delete and bufferState_ always ATRAC_STATUS_HALFWAY_BUFFER
2024-04-11 14:17:26 +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
Henrik Rydgård 5b3be0d720 Update USE_FFMPEG checks 2024-04-10 18:40:02 +02:00
Henrik Rydgård fc58a97024 Merge pull request #19027 from GermanAizek/char-as-param-for-string-methods
Minor optimize methods std::string using param as char with simpler implementation
2024-04-10 17:16:14 +02:00
Herman Semenov c20cb3f4be Minor optimize methods std::string using param as char with simpler implementation 2024-04-10 17:57:05 +03:00
Henrik Rydgård c6f5ac0c81 Merge pull request #19024 from hrydgard/audio-decoder-refactor
Audio format decoder: Refactor to enable multiple decoder implementations
2024-04-10 14:52:03 +02:00
Henrik Rydgård 9b57375b07 Merge pull request #19019 from hrydgard/plugins-on-game-screen
Add option to disable plugin, show list of available plugins on game screen
2024-04-10 13:14:21 +02:00
Henrik Rydgård 8adca6492c Move class SimpleAudio into the cpp file 2024-04-10 13:03:19 +02:00
Henrik Rydgård 1805910fac More refactoring 2024-04-10 12:22:58 +02:00
Henrik Rydgård 1938d3b876 More prep for plugging in alternate audio decoders 2024-04-10 12:14:58 +02:00
Henrik Rydgård 32ca7ab59a Minor code cleanups 2024-04-10 12:07:03 +02:00
Henrik Rydgård 88eb2c2e0b Add a virtual base class so we can implement alternative decoders 2024-04-10 00:45:02 +02:00
Henrik Rydgård ddbe0e853b Remove unused code 2024-04-10 00:40:16 +02:00
Henrik Rydgård e19e9b2793 Delete pointless accessors, update some comments 2024-04-10 00:35:48 +02:00
Henrik Rydgård c6d2fba2f1 Merge pull request #19022 from hrydgard/minor-fixes
Some logging fixes
2024-04-09 19:16:12 +02:00
Henrik Rydgård ddd821b6ce Improve logging in pgd_open 2024-04-09 17:41:56 +02:00