using System;
namespace CUETools.Codecs
{
///
/// Represents the interface to a device that can play a WaveFile
///
public interface IWavePlayer : IDisposable, IAudioDest
{
///
/// Begin playback
///
void Play();
///
/// Stop playback
///
void Stop();
///
/// Pause Playback
///
void Pause();
///
/// Current playback state
///
PlaybackState PlaybackState { get; }
///
/// The volume 1.0 is full scale
///
float Volume { get; set; }
///
/// Indicates that playback has gone into a stopped state due to
/// reaching the end of the input stream
///
event EventHandler PlaybackStopped;
}
}