Added tracking/capturing/restoration of audio playback state and position.
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
namespace Harmonia.WinUI.Session;
|
||||
using Harmonia.Core.Engine;
|
||||
|
||||
namespace Harmonia.WinUI.Session;
|
||||
|
||||
public partial class AudioPlayerState
|
||||
{
|
||||
public string? PlaylistUID { get; set; }
|
||||
public string? PlaylistSongUID { get; set; }
|
||||
public double Position { get; set; } = 0.0;
|
||||
public string? PlaybackState { get; set; }
|
||||
public AudioPlaybackState PlaybackState { get; set; } = AudioPlaybackState.Stopped;
|
||||
public double Volume { get; set; } = 1.0;
|
||||
public bool IsMuted { get; set; }
|
||||
public string? RepeatState { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user