Audio to its own namespace

This commit is contained in:
Matt Nadareski
2021-10-06 20:52:16 -07:00
parent 4eecc68cae
commit e6222352e9
8 changed files with 8 additions and 7 deletions

View 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);
}
}