mirror of
https://github.com/aaru-dps/RedBookPlayer.git
synced 2025-12-16 19:24:41 +00:00
Audio to its own namespace
This commit is contained in:
30
RedBookPlayer.Models/Audio/IAudioBackend.cs
Normal file
30
RedBookPlayer.Models/Audio/IAudioBackend.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user