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

Try to match the initial atrac decode size #6935

Merged
merged 9 commits into from
Sep 23, 2014

Commits on Sep 23, 2014

  1. Remove incorrect atrac decode ptr nullcheck.

    Already shown in decode test to be valid.
    unknownbrackets committed Sep 23, 2014
    Configuration menu
    Copy the full SHA
    70705d4 View commit details
    Browse the repository at this point in the history
  2. Skip samples in the first chunk of atrac output.

    This seems to be what the PSP actually does, although not sure.  The first
    result is always smaller by this amount (numerous atrac files tested.)
    unknownbrackets committed Sep 23, 2014
    Configuration menu
    Copy the full SHA
    ac1fcdb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6b6bf3f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4702ae0 View commit details
    Browse the repository at this point in the history
  5. Fix seeking in atrac after the start.

    Not sure the very start is right though, arg.
    unknownbrackets committed Sep 23, 2014
    Configuration menu
    Copy the full SHA
    0aa7247 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    68f4a1e View commit details
    Browse the repository at this point in the history
  7. Clamp the final sample count during decode.

    Some games depend on / expect this, or else they'll let important data get
    overwritten.
    unknownbrackets committed Sep 23, 2014
    Configuration menu
    Copy the full SHA
    fa42426 View commit details
    Browse the repository at this point in the history
  8. Add extra frames if we run out of atrac data.

    We could probably insert frames instead for GHA phase shifting, but this
    will solve other bugs too, I think.
    unknownbrackets committed Sep 23, 2014
    Configuration menu
    Copy the full SHA
    e717a87 View commit details
    Browse the repository at this point in the history
  9. Correct the end from sceAtracGetSoundSample().

    I think it's meant to be the last *valid* sample.
    unknownbrackets committed Sep 23, 2014
    Configuration menu
    Copy the full SHA
    0ebe532 View commit details
    Browse the repository at this point in the history