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

Remove BASS Audio Decoder #955

Merged

Conversation

complexlogic
Copy link
Contributor

Blocked by #954. This is the second of two PRs intended to resolve USDX's audio seeking accuracy issues (#673, #749, #884).

This PR removes the BASS audio decoder that is used by the Windows version for most audio file formats, and harmonizes all platforms around the FFmpeg audio decoder. This has been previously discussed in #750 and #936.

The FFmpeg audio decoder (with #954 incorporated) meets or exceeds the capabilities of the BASS audio decoder. The BASS audio decoder's seeking is less accurate for most file formats, and there is no realistic path to improvement since BASS is a non-free, closed source library.

USDX's built-in editor relies on precise and accurate audio seeking. Currently, you can edit a .txt file with the USDX editor and get different results depending on the platform, because they are using different audio backends. This PR will eliminate that, so setting the #GAP will have the same result regardless of platform. It's important to consider the impact to the ecosystem, such as .txt files hosted in USDB. It's a big problem if the timing of the .txt file varies by platform.

Fixes #673
Fixes #749
Fixes #884

@bohning
Copy link
Collaborator

bohning commented Jan 30, 2025

This is a massive step forward, thanks a ton for digging deep into this!

@complexlogic complexlogic marked this pull request as ready for review February 4, 2025 13:29
Copy link
Member

@barbeque-squared barbeque-squared left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great! Thank you for this!

@barbeque-squared barbeque-squared merged commit 0e9ce45 into UltraStar-Deluxe:master Feb 5, 2025
5 checks passed
@complexlogic complexlogic deleted the remove_bass_decoder branch February 5, 2025 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants