summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/rax.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/rax.cpp')
-rw-r--r--src/mame/audio/rax.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/audio/rax.cpp b/src/mame/audio/rax.cpp
index 90ffd568606..eb86b4b3c68 100644
--- a/src/mame/audio/rax.cpp
+++ b/src/mame/audio/rax.cpp
@@ -390,7 +390,7 @@ void acclaim_rax_device::recompute_sample_rate(int which)
/* now put it down to samples, so we know what the channel frequency has to be */
sample_period = sample_period * (16 * 1);
- dmadac_set_frequency(&m_dmadac[0], 2, ATTOSECONDS_TO_HZ(sample_period.attoseconds()));
+ dmadac_set_frequency(&m_dmadac[0], 2, sample_period.as_hz());
dmadac_enable(&m_dmadac[0], 2, 1);
/* fire off a timer which will hit every half-buffer */