BizHawk/BizHawk.Client.EmuHawk/Sound/Interfaces/ISoundOutput.cs

15 lines
324 B
C#

using System;
namespace BizHawk.Client.EmuHawk
{
public interface ISoundOutput : IDisposable
{
void StartSound();
void StopSound();
void ApplyVolumeSettings(double volume);
int MaxSamplesDeficit { get; }
int CalculateSamplesNeeded();
void WriteSamples(short[] samples, int sampleCount);
}
}