summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/ta7630.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/ta7630.cpp')
-rw-r--r--src/devices/sound/ta7630.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/devices/sound/ta7630.cpp b/src/devices/sound/ta7630.cpp
index 50bb605bedf..29a7c9bf457 100644
--- a/src/devices/sound/ta7630.cpp
+++ b/src/devices/sound/ta7630.cpp
@@ -91,3 +91,10 @@ void ta7630_device::set_device_volume(device_sound_interface *device,uint8_t val
device->set_output_gain(ALL_OUTPUTS,m_vol_ctrl[value & 0xf]);
}
+// Most Taito implementations seems to use this, is it correct?
+void ta7630_device::set_channel_volume(device_sound_interface *device, uint8_t ch,uint8_t value)
+{
+ device->set_output_gain(ch,m_vol_ctrl[value & 0xf]);
+}
+
+