From 843f39ba736fc39c00275850ee2ec860093cd9a2 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 28 Mar 2018 23:36:08 -0700 Subject: Small cleanup to audio interface between emulation code and renderer backend --- ym2612.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ym2612.h') diff --git a/ym2612.h b/ym2612.h index 9f2bd25..8bda299 100644 --- a/ym2612.h +++ b/ym2612.h @@ -9,6 +9,7 @@ #include #include #include "serialize.h" +#include "render.h" #define NUM_PART_REGS (0xB7-0x30) #define NUM_CHANNELS 6 @@ -63,7 +64,7 @@ typedef struct { typedef struct { int16_t *audio_buffer; - int16_t *back_buffer; + audio_source *audio; uint64_t buffer_fraction; uint64_t buffer_inc; uint32_t clock_inc; -- cgit v1.2.3