mirror of
https://github.com/holub/mame
synced 2025-04-25 17:56:43 +03:00
beep,dac: add note about buffer size
This commit is contained in:
parent
4b82a0797e
commit
a21f91f704
@ -33,6 +33,7 @@ beep_device::beep_device(const machine_config &mconfig, const char *tag, device_
|
||||
|
||||
void beep_device::device_start()
|
||||
{
|
||||
// large stream buffer to favour emu/sound.cpp resample quality
|
||||
m_stream = stream_alloc(0, 1, 48000 * 32);
|
||||
|
||||
m_enable = false;
|
||||
|
@ -93,7 +93,7 @@ void dac_device_base::device_start()
|
||||
// determine the number of inputs
|
||||
int inputs = (m_specified_inputs_mask == 0) ? 0 : 2;
|
||||
|
||||
// create the stream
|
||||
// large stream buffer to favour emu/sound.cpp resample quality
|
||||
m_stream = stream_alloc(inputs, 1, 48000 * 32);
|
||||
|
||||
// save data
|
||||
|
Loading…
Reference in New Issue
Block a user