Skip to content

Conversation

@emoon
Copy link
Owner

@emoon emoon commented Nov 30, 2025

Summary

  • Removes the proprietary BASS library entirely
  • Replaces it with minimp3 (public domain MP3 decoder) + kissfft (BSD FFT library)
  • Enables universal macOS builds (BASS lacked arm64 support)
  • Simplifies distribution - no more DLLs/dylibs to bundle

Changes

  • Remove external/bass/ directory and all platform binaries
  • Add external/minimp3/ and external/kissfft/
  • Simplify CMakeLists.txt - remove USE_MINIMP3 option, minimp3 is now the only backend
  • Update MusicDecode.c to use only minimp3+kissfft implementation
  • Remove BASS_Init from Editor.c
  • Update release workflow (no bass.dll copy needed)
  • Update README (remove libbass installation steps)

Closes #157

This removes the proprietary BASS library and replaces it with:
- minimp3: Header-only MP3 decoder (public domain)
- kissfft: Small FFT library (BSD license)

Benefits:
- No more proprietary dependencies
- Enables universal macOS builds (BASS lacked arm64 support)
- Simpler distribution (no DLLs/dylibs to bundle)

Changes:
- Remove external/bass/ directory and all binaries
- Add external/minimp3/ and external/kissfft/
- Simplify CMakeLists.txt (remove USE_MINIMP3 option)
- Update MusicDecode.c to use only minimp3+kissfft
- Remove BASS_Init from Editor.c
- Update release workflow (no bass.dll copy)
- Update README (remove libbass installation steps)

Closes #157
@emoon emoon force-pushed the minimp3-replacement branch from 5faf0d9 to ebe0430 Compare November 30, 2025 19:06
@emoon emoon merged commit f70fea8 into master Nov 30, 2025
3 checks passed
@emoon emoon deleted the minimp3-replacement branch November 30, 2025 19:07
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.

Replace BASS with minimp3

2 participants