From 4930d89466a8ffcb6f8625d9272e6c681438969a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Sat, 22 Mar 2014 17:45:16 +0000 Subject: [PATCH] nw.. --- src/emu/sound/qsound.c | 4 ++-- src/emu/sound/qsound.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/emu/sound/qsound.c b/src/emu/sound/qsound.c index 3733aa23ab2..2a2e8fb9c0b 100644 --- a/src/emu/sound/qsound.c +++ b/src/emu/sound/qsound.c @@ -13,7 +13,7 @@ never have been finished. TODO: - - hook up the DSP + - hook up the DSP! - is master volume really linear? - understand higher bits of reg 0 - understand reg 9 @@ -111,7 +111,7 @@ void qsound_device::device_start() m_sample_rom = (INT8*)*region(); m_sample_rom_length = region()->bytes(); - m_stream = stream_alloc(0, 2, clock() / 166); // /166 clock divider + m_stream = stream_alloc(0, 2, clock() / 166); // /166 clock divider? // create pan table for (int i = 0; i < 33; i++) diff --git a/src/emu/sound/qsound.h b/src/emu/sound/qsound.h index 469f5d9039c..2eeba24222e 100644 --- a/src/emu/sound/qsound.h +++ b/src/emu/sound/qsound.h @@ -11,7 +11,7 @@ #include "cpu/dsp16/dsp16.h" -#define QSOUND_CLOCK 4000000 /* default 4MHz clock */ +#define QSOUND_CLOCK 4000000 /* default 4MHz clock (60MHz/15?) */ //**************************************************************************