diff ym2612.h @ 1551:ce1f93be0104

Small cleanup to audio interface between emulation code and renderer backend
author Michael Pavone <pavone@retrodev.com>
date Wed, 28 Mar 2018 23:36:08 -0700
parents 4e5797b3935a
children 6ce36c3f250b
line wrap: on
line diff
--- a/ym2612.h	Mon Mar 26 23:36:39 2018 -0700
+++ b/ym2612.h	Wed Mar 28 23:36:08 2018 -0700
@@ -9,6 +9,7 @@
 #include <stdint.h>
 #include <stdio.h>
 #include "serialize.h"
+#include "render.h"
 
 #define NUM_PART_REGS (0xB7-0x30)
 #define NUM_CHANNELS 6
@@ -63,7 +64,7 @@
 
 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;