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

Update MAC_SDK from 4.44 to 9.04 #246

Merged

Conversation

c72578
Copy link
Collaborator

@c72578 c72578 commented Jan 24, 2023

This is a larger update of MAC_SDK to release 9.04.

  • Original download location:
    https://monkeysaudio.com/files/MAC_904_SDK.zip
    SHA256:
    09cfebe79986a9b8249cff9c3fd79663692e8e23139903df541905a2ecf44c6a
  • Several function return values and arguments are 64-bit now in
    MAC_SDK 9.04, e.g. in IO.h:
    int64 GetPosition();
    int64 GetSize();
    Use type long accordingly and remove casts, which are not required
    anymore.
  • Update the CUETools specific MACLibDll.cpp and MACLibDll.h based on
    the upstream modifications to MACDll.cpp and MACDll.h, respectively.
  • Update ThirdParty_MAC_SDK_CUETools.patch accordingly
  • CUETools.Codecs.MACLib\AudioEncoder.cs:
    Remove duplicate m_settings = settings;
  • Resolves [REQUEST] Codec Update - Monkeys Audio #158

@c72578 c72578 force-pushed the 2023-01-24_Update_MAC_SDK_from_4.44_to_9.04 branch from 634c866 to f643529 Compare January 25, 2023 18:13
@Barough
Copy link

Barough commented Jan 25, 2023

Looking forward to maybe a test build. ;)

@c72578
Copy link
Collaborator Author

c72578 commented Jan 25, 2023

Here is a first test build:
CUETools_2.2.2_2023-01-25_git_634c866_MAC_SDK_9.04.zip
SHA256: 0cf13aff05b51f2708ae2d45e1f824330defb8c519c76fe926b11dbc7f8caba0

@Barough
Copy link

Barough commented Jan 26, 2023

Working fine here. Tested converting a bunch of different lossless files into APE without any issues. Converted files plays fine on foobar2000

This is a larger update of MAC_SDK to release 9.04.
- Original download location:
  https://monkeysaudio.com/files/MAC_904_SDK.zip
  SHA256:
  09cfebe79986a9b8249cff9c3fd79663692e8e23139903df541905a2ecf44c6a
- Several function return values and arguments are 64-bit now in
  MAC_SDK 9.04, e.g. in IO.h:
    int64 GetPosition();
    int64 GetSize();
  Use type `long` accordingly and remove casts, which are not required
  anymore.
- Update the CUETools specific MACLibDll.cpp and MACLibDll.h based on
  the upstream modifications to MACDll.cpp and MACDll.h, respectively.
- Update ThirdParty_MAC_SDK_CUETools.patch accordingly
- CUETools.Codecs.MACLib\AudioEncoder.cs:
  Remove duplicate "m_settings = settings;"
- Resolves gchudov#158
@c72578 c72578 force-pushed the 2023-01-24_Update_MAC_SDK_from_4.44_to_9.04 branch from f643529 to 2c6eb21 Compare January 26, 2023 21:10
@c72578 c72578 marked this pull request as ready for review January 26, 2023 21:15
@c72578 c72578 merged commit 2c6eb21 into gchudov:master Jan 27, 2023
@c72578
Copy link
Collaborator Author

c72578 commented Jan 27, 2023

@Barough Thanks for testing the build and providing the feedback.

c72578 added a commit to c72578/cuetools.net that referenced this pull request Nov 2, 2023
APE files are not encoded correctly using CUETools.Codecs.MACLib,
when CUETools is run under 32-bit. This is a regression since the
update of MAC_SDK to 9.04 (gchudov#246). No problem under 64-bit.
Affected CUETools versions under 32-bit: v2.2.4, v2.2.3

- MACLibDll.cs, c_APECompress_Finish():
  Use `long`, which corresponds to `APE::int64`
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.

[REQUEST] Codec Update - Monkeys Audio
2 participants