ABStemPlayer/AudioCore/Interfaces/IStemPlaybackEngine.cs
Alexander Shabarshov 950e5f1dcc Refactor playback speed & mixer management; UI tweaks
Refactor playback speed and mixer settings to be managed via PlaybackSession, removing SetSpeed/SetStem* methods. Update Play command to apply current mixer and speed. Optimize RenderLoop with reusable audio block list and conditional output start. Align playback control icons in XAML. Update tests for new speed handling and add speed decrease coverage. Remove unused IStemPlaybackEngine methods.
2026-07-05 15:07:42 +01:00

19 lines
425 B
C#

namespace AudioCore.Interfaces;
public interface IStemPlaybackEngine
{
PlaybackSession? CurrentSession { get; }
Task LoadSessionAsync(PlaybackSession session, IProgressReporter<TimeSpan> progressReporter);
// Transport
Task PlayAsync();
Task PauseAsync();
Task StopAsync();
Task SeekAsync(TimeSpan position);
// Loop
void SetLoop(TimeSpan start, TimeSpan end);
void ClearLoop();
}