mirror of
https://github.com/holub/mame
synced 2025-06-05 04:16:28 +03:00
dac,beep: increase sample rate in favor of better resample quality
This commit is contained in:
parent
657c860aa2
commit
2695a185f9
@ -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;
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user