Skip to content

Fix: BASS_Free import error breaks tests #2

@Orinks

Description

@Orinks

Bug

The audio player imports BASS_Free from sound_lib.main, but this symbol doesn't exist in sound_lib.

from sound_lib.main import BassError, bass_call_0, BASS_Free
ImportError: cannot import name 'BASS_Free' from 'sound_lib.main'

Impact

  • All tests fail to collect due to import error
  • Audio cleanup may not work correctly

Fix

Remove the BASS_Free import and call - sound_lib handles cleanup automatically through Output.free() or just let Python garbage collection handle it.

Files

  • accessibletalkingclock/src/accessibletalkingclock/audio/player.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions