From 2695a185f97c29cc00e67f2b95debed676413264 Mon Sep 17 00:00:00 2001 From: hap Date: Wed, 17 Jul 2024 14:32:28 +0200 Subject: dac,beep: increase sample rate in favor of better resample quality --- src/devices/sound/beep.cpp | 2 +- src/devices/sound/dac.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/sound/beep.cpp b/src/devices/sound/beep.cpp index 77e3b431581..5d76b30216a 100644 --- a/src/devices/sound/beep.cpp +++ b/src/devices/sound/beep.cpp @@ -33,7 +33,7 @@ beep_device::beep_device(const machine_config &mconfig, const char *tag, device_ void beep_device::device_start() { - m_stream = stream_alloc(0, 1, 384000); + m_stream = stream_alloc(0, 1, 48000 * 32); m_enable = false; m_incr = 0; diff --git a/src/devices/sound/dac.cpp b/src/devices/sound/dac.cpp index 7305f2c12a7..57e3e49003d 100644 --- a/src/devices/sound/dac.cpp +++ b/src/devices/sound/dac.cpp @@ -94,7 +94,7 @@ void dac_device_base::device_start() int inputs = (m_specified_inputs_mask == 0) ? 0 : 2; // create the stream - m_stream = stream_alloc(inputs, 1, 48000 * 4); + m_stream = stream_alloc(inputs, 1, 48000 * 32); // save data save_item(NAME(m_curval)); -- cgit v1.2.3