summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/dcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/dcs.c')
-rw-r--r--src/mame/audio/dcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/audio/dcs.c b/src/mame/audio/dcs.c
index 591a17647eb..3e41f761ade 100644
--- a/src/mame/audio/dcs.c
+++ b/src/mame/audio/dcs.c
@@ -1955,7 +1955,7 @@ void dcs_audio_device::recompute_sample_rate()
/* now put it down to samples, so we know what the channel frequency has to be */
sample_period = sample_period * (16 * m_channels);
- dmadac_set_frequency(&m_dmadac[0], m_channels, ATTOSECONDS_TO_HZ(sample_period.attoseconds));
+ dmadac_set_frequency(&m_dmadac[0], m_channels, ATTOSECONDS_TO_HZ(sample_period.attoseconds()));
dmadac_enable(&m_dmadac[0], m_channels, 1);
/* fire off a timer which will hit every half-buffer */