2018-03-07 17:40:15 +00:00
|
|
|
|
using BizHawk.Common;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
|
|
|
|
|
{
|
|
|
|
|
public interface IBeeperDevice
|
|
|
|
|
{
|
|
|
|
|
void Init(int sampleRate, int tStatesPerFrame);
|
|
|
|
|
|
2018-03-27 14:40:13 +00:00
|
|
|
|
void ProcessPulseValue(bool pulse);
|
2018-03-07 17:40:15 +00:00
|
|
|
|
|
|
|
|
|
void StartFrame();
|
|
|
|
|
|
|
|
|
|
void EndFrame();
|
|
|
|
|
|
|
|
|
|
void SyncState(Serializer ser);
|
|
|
|
|
}
|
|
|
|
|
}
|