Mercurial > repos > blastem
comparison ym2612.h @ 1865:4c322abd9fa5
Split generic part of audio code into a separate file so it can be used in other targets besides SDL
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 17 May 2019 08:43:30 -0700 |
parents | ce6881d64eef |
children | e77f7a7c79a5 |
comparison
equal
deleted
inserted
replaced
1863:d60f2d7c02a5 | 1865:4c322abd9fa5 |
---|---|
7 #define YM2612_H_ | 7 #define YM2612_H_ |
8 | 8 |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 #include <stdio.h> | 10 #include <stdio.h> |
11 #include "serialize.h" | 11 #include "serialize.h" |
12 #include "render.h" | 12 #include "render_audio.h" |
13 | 13 |
14 #define NUM_PART_REGS (0xB7-0x30) | 14 #define NUM_PART_REGS (0xB7-0x30) |
15 #define NUM_CHANNELS 6 | 15 #define NUM_CHANNELS 6 |
16 #define NUM_OPERATORS (4*NUM_CHANNELS) | 16 #define NUM_OPERATORS (4*NUM_CHANNELS) |
17 | 17 |