using BizHawk.Common;
namespace BizHawk.Emulation.Cores.Computers.AmstradCPC
{
///
/// Represents a beeper/buzzer device
///
public interface IBeeperDevice
{
///
/// Initialisation
///
void Init(int sampleRate, int tStatesPerFrame);
///
/// Processes an incoming pulse value and adds it to the blipbuffer
///
void ProcessPulseValue(bool pulse);
///
/// State serialization
///
void SyncState(Serializer ser);
}
}