summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/tms5220.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/tms5220.h')
-rw-r--r--src/devices/sound/tms5220.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/sound/tms5220.h b/src/devices/sound/tms5220.h
index 4cfab5491ef..b48ca8d9b9a 100644
--- a/src/devices/sound/tms5220.h
+++ b/src/devices/sound/tms5220.h
@@ -123,6 +123,8 @@ private:
int cycles_to_ready();
int int_read();
void process(int16_t *buffer, unsigned int size);
+ int16_t clip_analog(int16_t cliptemp) const;
+ int32_t matrix_multiply(int32_t a, int32_t b) const;
int32_t lattice_filter();
void process_command(unsigned char cmd);
void parse_frame();
@@ -136,6 +138,9 @@ private:
bool NEW_FRAME_SILENCE_FLAG() const { return m_new_frame_energy_idx == 0; } // ditto as above
bool NEW_FRAME_UNVOICED_FLAG() const { return m_new_frame_pitch_idx == 0; } // ditto as above
+ // debugging helper
+ void printbits(long data, int num);
+
// internal state
/* coefficient tables */