Henrik Rydgård
8a5be21140
MemStick screen: Call free_disk_space from async tasks
...
See #19522
2024-10-11 13:45:43 +02:00
Henrik Rydgård
4d6905672e
Bunch more linting
2024-10-10 11:57:10 +02:00
Herman Semenov
3c66f149d3
[Common/Core/Windows] Removed excess check pointer before delete or free()
2024-09-17 11:34:42 +02:00
Henrik Rydgård
16a56aa18b
Port over LunaMoo's compat flag for The Warriors video playback
...
This reverts to the old behavior before we started parsing mpeg headers,
that is, in 558b462
which is part of #8867 .
LunaMoo has this under "HackFixVideo" in his build.
See #8991 . This doesn't really "fix" that, but works around it.
2024-09-11 14:32:53 +02:00
Henrik Rydgård
c3f291e9fe
Fix for possible overflow in the resampler (can prevent some audio clicks)
...
Comment fixes
2024-09-04 12:56:15 +02:00
Henrik Rydgård
35ad5f95f2
Minor cleanup
2024-07-23 21:59:23 +02:00
Henrik Rydgård
091535744b
SimpleAudioDec: Fix crash in savestate load
2024-07-20 00:00:29 +02:00
Henrik Rydgård
320a1cfc8f
Merge pull request #19325 from Nabile-Rahmani/display-refresh-rate-option
...
[Feature] Option to override the display refresh rate
2024-07-17 20:25:38 +02:00
Henrik Rydgård
70cb1104dc
Kirk: Remove use of uninitialized stack as a random number source
...
This confused Valgrind and made me think we had another memory bug.
Turns out this is NOT the cause of #13781 , which I still don't
understand.
2024-07-16 22:04:41 +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
Nabile Rahmani
7af15c73bc
[Feature] Option to override the display refresh rate
...
This adds a per-game graphics option, `DisplayRefreshRate`, to override the display refresh rate.
It defaults to 60 Hz, and is located in Dev tools.
Games using variable timesteps benefit from higher refresh rates.
Closes #19319
2024-07-13 15:04:20 +02:00
Henrik Rydgård
510cf1891b
Random UWP text bugfix. Some warning fixes.
2024-06-05 12:38:43 +02:00
Henrik Rydgård
a653939380
Avoid crashing when atrac3 decoders fail to init due to bad params. Fixes Kosmodrones (though no music).
2024-06-03 12:01:42 +02:00
Henrik Rydgård
e5baebf139
Prevent a buffer overflow at the end of Atrac tracks.
...
Fixes #19177
2024-05-27 12:36:19 +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
d402068745
Fix mono output from Atrac decoders. (sceAtrac*MOut* functions)
2024-04-15 11:50:32 +02:00
Henrik Rydgård
eef667c5ac
Separate the external interface used by sceSas
2024-04-14 10:40:12 +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
c2bcdd3076
Buildfix with system ffmpeg
2024-04-12 16:45:45 +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
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
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
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
5b3be0d720
Update USE_FFMPEG checks
2024-04-10 18:40:02 +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
Andrew Udvare
930b7f644d
ffmpeg: Improved fix for checking if const AVCodec* is necessary
2024-02-05 14:37:09 -05:00
Henrik Rydgård
14cd094535
Merge pull request #18800 from hrydgard/last-minute-fixes
...
Even more checks and fixes
2024-01-31 11:59:45 +01:00