diff --git a/BizHawk.Emulation.Cores/Computers/AppleII/AppleII.IAudioProvider.cs b/BizHawk.Emulation.Cores/Computers/AppleII/AppleII.IAudioProvider.cs new file mode 100644 index 0000000000..c22f997767 --- /dev/null +++ b/BizHawk.Emulation.Cores/Computers/AppleII/AppleII.IAudioProvider.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using BizHawk.Emulation.Common; + +namespace BizHawk.Emulation.Cores.Computers.AppleII +{ + partial class AppleII : ISyncSoundProvider + { + void ISyncSoundProvider.GetSamples(out short[] samples, out int nsamp) + { + _machine.Speaker.AudioService.GetSamples(out samples, out nsamp); + } + + void ISyncSoundProvider.DiscardSamples() + { + _machine.Speaker.AudioService.Clear(); + } + } +}