Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import logging
from pathlib import Path
from sound_lib import stream
from sound_lib.main import BassError, bass_call_0, BASS_Free

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -171,11 +170,5 @@ def cleanup(self):
except Exception as e:
logger.warning(f"Error during AudioPlayer cleanup: {e}")

# Free BASS library resources
if _bass_initialized:
try:
BASS_Free()
_bass_initialized = False
logger.info("BASS audio system freed")
except Exception as e:
logger.warning(f"Error freeing BASS audio system: {e}")
# Note: BASS library cleanup is handled automatically by sound_lib
# when the Output object is garbage collected
Loading