Also added the FrameworkDispatcher calls in the Game class. Checking for possible fire and forget sound instances to be disposed in the FrameworkDispatcher update chain.
20 lines
442 B
C#
20 lines
442 B
C#
using System;
|
|
using ANX.Framework.Media;
|
|
|
|
namespace ANX.Framework.NonXNA.SoundSystem
|
|
{
|
|
public interface ISong : IDisposable
|
|
{
|
|
TimeSpan Duration { get; }
|
|
TimeSpan PlayPosition { get; }
|
|
MediaState State { get; }
|
|
|
|
void Play();
|
|
void Stop();
|
|
void Pause();
|
|
void Resume();
|
|
void Update();
|
|
void GetVisualizationData(VisualizationData data);
|
|
}
|
|
}
|