mirror of
https://github.com/unclshura/ABStemPlayer.git
synced 2026-08-07 00:43:38 +00:00
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.
19 lines
425 B
C#
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();
|
|
}
|