Skip to content

Conversation

@Orinks
Copy link
Owner

@Orinks Orinks commented Feb 1, 2026

Summary

Fixes #2

The BASS_Free symbol doesn't exist in sound_lib.main. This caused an ImportError that prevented all tests from even collecting.

Changes

  • Remove unused sound_lib.main import (BassError, bass_call_0, BASS_Free)
  • Remove BASS_Free() call in cleanup() - sound_lib handles cleanup automatically when the Output object is garbage collected

Testing

  • Tests now collect successfully (previously 2 collection errors)
  • Audio tests fail on headless server as expected (no audio device)

Fixes #2

The BASS_Free symbol doesn't exist in sound_lib.main. The previous
import caused an ImportError that prevented all tests from running.

Changes:
- Remove unused sound_lib.main import (BassError, bass_call_0, BASS_Free)
- Remove BASS_Free() call in cleanup() - sound_lib handles cleanup
  automatically when the Output object is garbage collected
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