2011-01-11 02:55:51 +00:00
|
|
|
|
namespace BizHawk.Emulation.Sound
|
|
|
|
|
{
|
|
|
|
|
public sealed class YM2612 : ISoundProvider
|
|
|
|
|
{
|
|
|
|
|
public byte ReadStatus()
|
|
|
|
|
{
|
|
|
|
|
// default status: not BUSY, both timers tripped
|
|
|
|
|
return 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Write(int addr, byte value)
|
|
|
|
|
{
|
2011-10-11 03:52:44 +00:00
|
|
|
|
//System.Console.WriteLine("YM2612: {0:X2} -> {1:X2}", addr, value);
|
2011-01-11 02:55:51 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Reset()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2011-09-04 04:38:11 +00:00
|
|
|
|
public void DiscardSamples() {}
|
|
|
|
|
public void GetSamples(short[] samples) {}
|
|
|
|
|
public int MaxVolume { get; set; }
|
2011-01-11 02:55:51 +00:00
|
|
|
|
}
|
|
|
|
|
}
|