summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/bbd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/bbd.cpp')
-rw-r--r--src/devices/sound/bbd.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/devices/sound/bbd.cpp b/src/devices/sound/bbd.cpp
index e270108b04e..5b694b6970c 100644
--- a/src/devices/sound/bbd.cpp
+++ b/src/devices/sound/bbd.cpp
@@ -52,7 +52,8 @@ void bbd_device_base<Entries, Outputs>::device_start()
template<int Entries, int Outputs>
void bbd_device_base<Entries, Outputs>::device_clock_changed()
{
- m_stream->set_sample_rate(sample_rate());
+ if (m_cv_handler.isnull())
+ m_stream->set_sample_rate(sample_rate());
}
@@ -163,3 +164,16 @@ mn3204p_device::mn3204p_device(const machine_config &mconfig, const char *tag, d
bbd_device_base(mconfig, tag, owner, clock, MN3204P)
{
}
+
+
+//**************************************************************************
+// MN3207P
+//**************************************************************************
+
+// device type definition
+DEFINE_DEVICE_TYPE(MN3207, mn3207_device, "mn3207", "MN3207 BBD")
+
+mn3207_device::mn3207_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
+ bbd_device_base(mconfig, tag, owner, clock, MN3207)
+{
+}