diff options
| author | 2015-12-30 08:18:51 +0100 | |
|---|---|---|
| committer | 2015-12-30 08:18:51 +0100 | |
| commit | 4afd75e2fd0fc40ae0e47ab6063e6228cd7eaabe (patch) | |
| tree | a30d36789b6148002e09f8e65ff6266e21790396 /src/emu/sound.cpp | |
| parent | 3b0d814b9b9f890eb2ca1edc3f37c775be76ea88 (diff) | |
Cleanups and version bumpmame0169
Diffstat (limited to 'src/emu/sound.cpp')
| -rw-r--r-- | src/emu/sound.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/emu/sound.cpp b/src/emu/sound.cpp index dbfc8813ec7..89db24f85ca 100644 --- a/src/emu/sound.cpp +++ b/src/emu/sound.cpp @@ -404,7 +404,6 @@ void sound_stream::update_with_accounting(bool second_tick) if (output_bufindex > 0) for (auto & output : m_output) { - memmove(&output.m_buffer[0], &output.m_buffer[samples_to_lose], sizeof(output.m_buffer[0]) * (output_bufindex - samples_to_lose)); } @@ -459,7 +458,6 @@ void sound_stream::recompute_sample_rate_data() // When synchronous, pick the sample rate for the inputs, if any for (auto & input : m_input) { - if (input.m_source != nullptr) { if (!m_sample_rate) @@ -486,7 +484,7 @@ void sound_stream::recompute_sample_rate_data() for (auto & input : m_input) { // if we have a source, see if its sample rate changed - + if (input.m_source != nullptr) { // okay, we have a new sample rate; recompute the latency to be the maximum |
