summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/xt446.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2025-04-14 11:31:53 +0200
committer Olivier Galibert <galibert@pobox.com>2025-04-27 22:23:20 +0200
commitd0f1c15a0f6df2dd51a754cb46e6175b7079c8f2 (patch)
treebe35c94340442af08c316a8679089ee68e119fac /src/devices/sound/xt446.cpp
parentec636faeba5c5841c5a4a35b7c9dc2f06a00f538 (diff)
New sound infrastructure.
Should be added soon: - mute - speaker/microphone resampling To be added a little later: - compression - reverb Needs to be added by someone else: - coreaudio - direct - portaudio - xaudio2 - js
Diffstat (limited to 'src/devices/sound/xt446.cpp')
-rw-r--r--src/devices/sound/xt446.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/sound/xt446.cpp b/src/devices/sound/xt446.cpp
index 8136f43ed90..93a7c9687fa 100644
--- a/src/devices/sound/xt446.cpp
+++ b/src/devices/sound/xt446.cpp
@@ -37,7 +37,7 @@ ROM_END
xt446_device::xt446_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, XT446, tag, owner, clock)
- , device_mixer_interface(mconfig, *this, 2)
+ , device_mixer_interface(mconfig, *this)
, m_maincpu(*this, "maincpu")
, m_swp30(*this, "swp30")
{
@@ -91,7 +91,7 @@ void xt446_device::device_add_mconfig(machine_config &config)
SWP30(config, m_swp30);
m_swp30->set_addrmap(AS_DATA, &xt446_device::swp30_map);
- m_swp30->add_route(0, *this, 1.0, AUTO_ALLOC_INPUT, 0);
- m_swp30->add_route(1, *this, 1.0, AUTO_ALLOC_INPUT, 1);
+ m_swp30->add_route(0, *this, 1.0, 0);
+ m_swp30->add_route(1, *this, 1.0, 1);
}