Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AJM decode PoC #81

Merged
merged 5 commits into from
Oct 30, 2024
Merged

AJM decode PoC #81

merged 5 commits into from
Oct 30, 2024

Conversation

ga2mer
Copy link
Contributor

@ga2mer ga2mer commented Oct 18, 2024

This PR is marked as draft as it is still in development and is not recommended to be pushed into the main branch

What works:

  • Simple At9 decoding
  • Simple MP3 decoding
  • Simple ADTS AAC decoding
  • Simple Audiodec

What doesn't work:

  • ring buffer jobs
  • it's not async, so it blocks the thread while decoding
  • doesn't work properly

What needs to be done:

  • multiple frames jobs with ring buffers
  • gapless decoding
  • resampling
  • reset contect
  • extend codec
  • switch codec
  • correct working logic
  • few small things
  • refactoring, right now the code is unbelievably awful and contains a lot of hacks and debugging logs

Mostly untested in games

Once this works well in synchronous, it will need to make an asynchronous task queue, since on the original platform, AJM works with a separate hardware and it works without blocking the main hardware threads (at least until you ask for it)

@ga2mer ga2mer marked this pull request as ready for review October 29, 2024 16:48
@DHrpcs3 DHrpcs3 merged commit d2b2296 into RPCSX:master Oct 30, 2024
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants