summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/tt5665.h
diff options
context:
space:
mode:
author cam900 <dbtlrchl@naver.com>2020-10-16 17:11:07 +0900
committer Vas Crabb <cuavas@users.noreply.github.com>2020-10-16 22:21:22 +1100
commit1866f2c1d9f53b841791fa32bbf5a20554525d34 (patch)
tree8fbf927ddffc4a7474b3d0d49842789f33a78cb2 /src/devices/sound/tt5665.h
parentb1784c8e3fa1335ddd3c8d3b9f26f33cae75431c (diff)
tt5665.cpp: Use put_int for update samples
Diffstat (limited to 'src/devices/sound/tt5665.h')
-rw-r--r--src/devices/sound/tt5665.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/tt5665.h b/src/devices/sound/tt5665.h
index e896872ecb3..37a0a712e27 100644
--- a/src/devices/sound/tt5665.h
+++ b/src/devices/sound/tt5665.h
@@ -74,7 +74,7 @@ private:
{
public:
tt5665_voice();
- void generate_adpcm(device_rom_interface &rom, stream_buffer::sample_t *buffer);
+ void generate_adpcm(device_rom_interface &rom, s32 *buffer);
oki_adpcm_state m_adpcm; // current ADPCM state
bool m_playing;
@@ -94,7 +94,7 @@ private:
tt5665_voice m_voice[TT5665_VOICES * 2]; // separated voice for left and right output
s32 m_command;
sound_stream* m_stream;
- stream_buffer::sample_t m_daol_output;
+ s32 m_daol_output;
int m_daol_timing;
inline int freq_divider() const { return m_ss_state ? 136 : 170; }