namespace ytLive.Services.Audio;
/// Seam over the TRAX background-music player () so the
/// toggle/status-light logic is testable without a real audio device.
public interface ITraxPlayer : IDisposable
{
event Action? PlaybackEnded;
string? TrackName { get; }
bool IsPlaying { get; }
float LocalGain { get; set; }
void Load(string path);
void Play();
void Pause();
}