dac,beep: increase sample rate in favor of better resample quality

This commit is contained in:
hap 2024-07-17 14:32:28 +02:00
parent 657c860aa2
commit 2695a185f9
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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));