Henrik Rydgård
|
5363159610
|
Error return fixes
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
4379c1ad49
|
Rebase fixups
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
bb436cda8f
|
Reimplement a lot of logic, implement loop streaming properly
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
b99348383c
|
Some new findings, loop work
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
4d7a8b8233
|
Some type and comment cleanup
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
926a5623d1
|
Improve comments
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
9cc7bab3a5
|
Implement the simplest looping case (fully loaded audio)
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
92737be87e
|
Minor simplification
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
deff5ce513
|
Correct the stream buffering logic to allow for adding unaligned amounts to the buffer. This also simplifies it.
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
f4fe91beae
|
Remove unnecessary state variable, fix reset-seeks to fractional positions
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
da27e2a93f
|
Fix seeking to offsets other than 0 in a couple of the modes
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
e99688fd93
|
Fix buffer sizing issue for mono tracks
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
9623cd4897
|
Fix playback of fully loaded tracks, fix memory leak
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
8b02766702
|
Some cleanup and refactor.
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
36fdb09056
|
Break apart the SetData function
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
8f66ebde90
|
Shuffle things around a bit
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
2367c2d1cf
|
Fix even more edge cases
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
1f85887cb6
|
Logging improvements
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
bab09ea30a
|
Implement sceAtracGetInternalError
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
86d661f312
|
Correctly handle corrupted data in decode.
|
2025-03-18 09:36:33 +01:00 |
|
Henrik Rydgård
|
beaf089870
|
Add checks for running out of data in decode.
|
2025-03-18 09:36:32 +01:00 |
|
Henrik Rydgård
|
2dd4602886
|
Fix half-way buffer streaming
|
2025-03-18 09:36:32 +01:00 |
|
Henrik Rydgård
|
54acb07ded
|
ImDebugger: Add more atrac information
|
2025-03-18 09:36:32 +01:00 |
|
Henrik Rydgård
|
67c8703302
|
Correct GetStreamDataInfo. Now passes the test at all buffer sizes I've tried.
|
2025-03-18 09:36:32 +01:00 |
|
Henrik Rydgård
|
1dd48ec73b
|
Pass the new test with a fully loaded buffer.
|
2025-03-18 09:36:32 +01:00 |
|
Henrik Rydgård
|
7a4d175e06
|
Port over some utility functions, fix bugs.
|
2025-03-18 09:36:32 +01:00 |
|
Henrik Rydgård
|
9c02eab137
|
More work - start work on handling buffer wraparound properly. Passes the full test with 1 wraparound!
|
2025-03-18 09:36:32 +01:00 |
|
Henrik Rydgård
|
724fc1dd95
|
Work on the new implementation.
|
2025-03-18 09:36:32 +01:00 |
|
Henrik Rydgård
|
78e763b050
|
Restore the setting.
|
2025-03-18 09:36:32 +01:00 |
|
Felipe
|
4eb9ea3aa3
|
Updated brazilian portuguese translation
Added the newest strings.
|
2025-03-17 07:36:41 -03:00 |
|
Henrik Rydgård
|
72daaac168
|
Merge pull request #20120 from hrydgard/more-atrac-prep
More Atrac prep
|
2025-03-17 11:31:16 +01:00 |
|
Henrik Rydgård
|
818e7a99bd
|
minor refactor
|
2025-03-17 11:02:59 +01:00 |
|
Henrik Rydgård
|
526394dbaa
|
Small tweak for asserts in the debugger
|
2025-03-17 11:02:59 +01:00 |
|
Henrik Rydgård
|
3d0cb44f18
|
Add comment explaining how sceAudio does queueing wrong
|
2025-03-17 11:02:59 +01:00 |
|
Henrik Rydgård
|
bfc03d5819
|
Merge pull request #20119 from hrydgard/fix-atrac-init-issue
Fix an ordering issue in Atrac context creation
|
2025-03-16 23:05:05 +01:00 |
|
Henrik Rydgård
|
63c997b973
|
Fix an ordering issue in Atrac context creation
|
2025-03-16 22:46:44 +01:00 |
|
Henrik Rydgård
|
8caec3c34d
|
Merge pull request #20118 from hrydgard/even-more-refactor
Atrac: Prepare for the new way of context management
|
2025-03-16 20:01:24 +01:00 |
|
Henrik Rydgård
|
bc283ac60e
|
Add new assert/log facility _dbg_assert_or_log_. Asserts in debug builds, logs in release builds.
|
2025-03-16 19:32:40 +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
|
a0cc07559e
|
Merge pull request #20117 from hrydgard/split-out-track
Atrac: Split out track analysis
|
2025-03-16 16:27: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
|
8c8c823c6a
|
Merge pull request #20116 from hrydgard/even-more-atrac-prep
Even more Atrac refactoring
|
2025-03-16 12:14:20 +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 |
|