Brad Smith
59ba9ab973
Fix building on OpenBSD/riscv64.
...
Unbreak on riscv64, we don't have sys/auxv.h or getauxval().
OpenBSD/riscv64 assumes RV64GC, aka RV64IMAFDC.
Our kernel provides no support for the V extension.
2024-04-27 07:44:37 -04:00
Henrik Rydgård
1786a4ddb0
Merge pull request #19079 from warmenhoven/warmenhoven/pr/ios-moltenvk
...
iOS: Update VulkanLoader for MoltenVK 1.2.8-style framework finding
2024-04-20 23:03:42 +02:00
Henrik Rydgård
85a3631a87
Merge pull request #19083 from ANR2MERefork/audioinput
...
[sceAudio] Added stubs for unimplemented audio input HLEs
2024-04-20 10:28:57 +02:00
AdamN
bbe2c341ed
oops
2024-04-20 12:41:27 +07:00
AdamN
1cf7254cb0
Update sceAudio.cpp
2024-04-20 12:06:49 +07:00
Eric Warmenhoven
e50ca3808a
iOS: Update VulkanLoader for MoltenVK 1.2.8-style framework finding
2024-04-19 09:30:43 -04: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
a74a0fdbde
Add a way to test new atrac using headless.
2024-04-16 23:08:43 +02:00
Henrik Rydgård
5b625bfd3e
Share GetSecondBufferInfo between implementations
2024-04-16 23:07:03 +02:00
Henrik Rydgård
f05f9a6de3
Code cleanup and comments
2024-04-16 22:54:53 +02:00
Henrik Rydgård
178147b20a
Make asserts work better in headless when running tests on Windows
2024-04-16 22:54:48 +02:00
Henrik Rydgård
23a913ebe4
Merge pull request #19071 from hrydgard/decoder-interface-change
...
Refactor: Change *outBytes to *outSamples in AudioDecoder::Decode.
2024-04-16 22:29:28 +02:00
Henrik Rydgård
5a38a359e9
Merge pull request #19073 from hrydgard/mirror-camera
...
Add option to mirror the camera image horizontally.
2024-04-16 21:07:27 +02:00
Henrik Rydgård
188d19afb0
Add translation string, update langtool deps
2024-04-16 20:38:29 +02:00
Henrik Rydgård
dbd774040e
Add option to mirror the camera image horizontally.
...
Only for Windows right now - since the PSP expects the image as a JPEG and
the various backends deliver it as such, we have to add
platform-specific code to mirror the image pre-compression.
2024-04-16 20:33:06 +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
fa8d8d1121
Merge pull request #19070 from hrydgard/camera-fix
...
Fix camera on Windows. Forgot to re-enable USE_FFMPEG in the project.
2024-04-15 21:37:12 +02:00
Henrik Rydgård
e188f3cadc
Fix camera on Windows. Forgot to re-enable USE_FFMPEG in the project.
...
We use FFMPEG's swscaler system for scaling camera images (this should
be changed at some point, though).
2024-04-15 21:23:19 +02:00
Henrik Rydgård
4d52e9a10e
Merge pull request #19066 from hrydgard/atrac-ctx-2
...
Add a new dummy sceAtrac implementation
2024-04-15 14:41:25 +02:00
Henrik Rydgård
5470885178
Add some basics.
2024-04-15 14:08:01 +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
073a5c7dca
Merge pull request #19064 from hrydgard/split-atrac-dec
...
Atrac: Split the context into a base class and a derived class, to be able to replace the buffering logic
2024-04-15 13:32:34 +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
c782d54464
Merge pull request #19062 from hrydgard/atrac-fix-mono-output
...
Fix mono output from Atrac decoders. (sceAtrac*MOut* functions)
2024-04-15 12:23:00 +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
c9d397ece9
Merge pull request #19061 from hrydgard/even-more-atrac-cleanup
...
More Atrac code cleanup
2024-04-15 11:47:51 +02:00
Henrik Rydgård
3e49a32fa8
Comment fixes
2024-04-15 11:16:03 +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
3c700aab35
Break out the separate analyze functions.
2024-04-15 11:16:00 +02:00
Henrik Rydgård
9d0dac5acb
Move channels into Track
2024-04-15 11:13:47 +02:00
Henrik Rydgård
0a275883ec
Move bitrate and jointstereo fields into Atrac
2024-04-15 11:13:47 +02:00
Henrik Rydgård
5c1ab7e699
Move dataOff into Track
2024-04-15 11:13:45 +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
976f7e5ce6
Move bytesPerFrame into track
2024-04-15 11:06:40 +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
bd84e30553
Start breaking out Analyze* functions
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
2a3b6b8cfb
Remove unnecessary check, allowing us to de-indent
2024-04-14 16:29:20 +02:00
Henrik Rydgård
efe2302548
Merge pull request #19060 from hrydgard/more-atrac-cleanup
...
More Atrac cleanup - break out the context into its own file
2024-04-14 15:58:56 +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
7f2a3736c8
Merge pull request #19057 from hrydgard/update-arabic
...
Update ar_AE.ini (Arabic), thanks to Alucard
2024-04-14 13:44:25 +02:00