Files
klangkiste/box2/audio/base.py
T
2026-01-13 19:44:02 +00:00

17 lines
347 B
Python

"""Audio backend interface (placeholder)."""
from __future__ import annotations
from typing import Protocol
class AudioBackend(Protocol):
def play(self, media_ref: str) -> None:
raise NotImplementedError
def pause(self) -> None:
raise NotImplementedError
def stop(self) -> None:
raise NotImplementedError