AxibugEmuOnline/AxibugEmuOnline.Client/Assets/MyNes.Core/IAudioProvider.cs

30 lines
519 B
C#

namespace MyNes.Core
{
public interface IAudioProvider
{
string Name { get; }
string ID { get; }
bool AllowBufferChange { get; }
bool AllowFrequencyChange { get; }
void SubmitSamples(ref short[] buffer, ref int samples_added);
void TogglePause(bool paused);
void GetIsPlaying(out bool playing);
void Initialize();
void ShutDown();
void Reset();
void SignalToggle(bool started);
void SetVolume(int Vol);
}
}