mirror of
https://github.com/holub/mame
synced 2025-07-06 02:18:09 +03:00
emu/sound.cpp: Don't force lower samplerate for dummy sound output module. (#10483)
When using lua instead of OSD to obtain samples, we don't need sound output, but we need decent sample rate.
This commit is contained in:
parent
026f8c97d9
commit
687121ff05
@ -1093,14 +1093,6 @@ sound_manager::sound_manager(running_machine &machine) :
|
||||
m_wavfile(),
|
||||
m_first_reset(true)
|
||||
{
|
||||
// get filename for WAV file or AVI file if specified
|
||||
const char *wavfile = machine.options().wav_write();
|
||||
const char *avifile = machine.options().avi_write();
|
||||
|
||||
// handle -nosound and lower sample rate if not recording WAV or AVI
|
||||
if (m_nosound_mode && wavfile[0] == 0 && avifile[0] == 0)
|
||||
machine.m_sample_rate = 11025;
|
||||
|
||||
// count the mixers
|
||||
#if VERBOSE
|
||||
mixer_interface_enumerator iter(machine.root_device());
|
||||
|
Loading…
Reference in New Issue
Block a user