AxibugEmuOnline/OtherCore/MyNes.Standard2/MyNes.Core/IAudioProvider.cs

30 lines
490 B
C#
Raw Normal View History

2024-07-24 15:03:33 +08:00
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);
}
}