mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2025-12-16 11:14:39 +00:00
30 lines
644 B
C#
30 lines
644 B
C#
namespace RedBookPlayer.Models.Audio
|
|
{
|
|
public interface IAudioBackend
|
|
{
|
|
/// <summary>
|
|
/// Pauses the audio playback
|
|
/// </summary>
|
|
void Pause();
|
|
|
|
/// <summary>
|
|
/// Starts the playback.
|
|
/// </summary>
|
|
void Play();
|
|
|
|
/// <summary>
|
|
/// Stops the audio playback
|
|
/// </summary>
|
|
void Stop();
|
|
|
|
/// <summary>
|
|
/// Get the current playback state
|
|
/// </summary>
|
|
PlayerState GetPlayerState();
|
|
|
|
/// <summary>
|
|
/// Set the new volume value
|
|
/// </summary>
|
|
void SetVolume(float volume);
|
|
}
|
|
} |