summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--makefile2
-rw-r--r--src/emu/sound.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index 13b7b535989..d6264b7dfdc 100644
--- a/makefile
+++ b/makefile
@@ -73,7 +73,7 @@
# USE_SYSTEM_LIB_LUA = 1
# USE_SYSTEM_LIB_SQLITE3 = 1
# USE_SYSTEM_LIB_PORTMIDI = 1
-# USE_SYSTEM_LIB_PORTAUDIO = 1
+USE_SYSTEM_LIB_PORTAUDIO = 1
# USE_SYSTEM_LIB_UTF8PROC = 1
# USE_SYSTEM_LIB_GLM = 1
# USE_SYSTEM_LIB_RAPIDJSON = 1
diff --git a/src/emu/sound.cpp b/src/emu/sound.cpp
index 2326f7985f3..ac4132f1492 100644
--- a/src/emu/sound.cpp
+++ b/src/emu/sound.cpp
@@ -635,7 +635,7 @@ void sound_stream::reprime_sync_timer()
if(!is_active())
return;
- u64 next_sample = m_output_buffer.write_sample() + 1;
+ u64 next_sample = m_output_buffer.write_sample();
attotime next_time = sample_to_time(next_sample);
next_time.m_attoseconds += 1'000'000'000; // Go to the next nanosecond '
m_sync_timer->adjust(next_time - m_device.machine().time());