summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/c140.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/c140.h')
-rw-r--r--src/devices/sound/c140.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/devices/sound/c140.h b/src/devices/sound/c140.h
index dba89c78089..4644e8cc62c 100644
--- a/src/devices/sound/c140.h
+++ b/src/devices/sound/c140.h
@@ -31,6 +31,7 @@ public:
// configuration
void set_bank_type(C140_TYPE bank) { m_banking_type = bank; }
+ auto int1_callback() { return m_int1_callback.bind(); }
u8 c140_r(offs_t offset);
void c140_w(offs_t offset, u8 data);
@@ -74,6 +75,10 @@ private:
void init_voice( C140_VOICE *v );
long find_sample(long adrs, long bank, int voice);
+ TIMER_CALLBACK_MEMBER(int1_on);
+
+ devcb_write_line m_int1_callback;
+
int m_sample_rate;
sound_stream *m_stream;
C140_TYPE m_banking_type;
@@ -87,6 +92,8 @@ private:
int16_t m_pcmtbl[8]; //2000.06.26 CAB
C140_VOICE m_voi[MAX_VOICE];
+
+ emu_timer *m_int1_timer;
};
DECLARE_DEVICE_TYPE(C140, c140_device)