summaryrefslogtreecommitdiff
path: root/psg.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2018-03-28 23:36:08 -0700
committerMichael Pavone <pavone@retrodev.com>2018-03-28 23:36:08 -0700
commit843f39ba736fc39c00275850ee2ec860093cd9a2 (patch)
tree732ee291762f8c3f897e01ceaccd6828bad802c6 /psg.h
parente04a8ca03c0752a16e873a549961f9d739abd02e (diff)
Small cleanup to audio interface between emulation code and renderer backend
Diffstat (limited to 'psg.h')
-rw-r--r--psg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/psg.h b/psg.h
index 0e11328..4e77f20 100644
--- a/psg.h
+++ b/psg.h
@@ -8,10 +8,11 @@
#include <stdint.h>
#include "serialize.h"
+#include "render.h"
typedef struct {
int16_t *audio_buffer;
- int16_t *back_buffer;
+ audio_source *audio;
uint64_t buffer_fraction;
uint64_t buffer_inc;
uint32_t buffer_pos;