From 712f463022898824379d5df3e201912db5dda441 Mon Sep 17 00:00:00 2001 From: Themaister Date: Mon, 6 Jun 2011 02:01:21 +0200 Subject: [PATCH] Disable audio sync properly in external driver. --- audio/ext.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/audio/ext.c b/audio/ext.c index f28c2cce5a..5b03deaf3b 100644 --- a/audio/ext.c +++ b/audio/ext.c @@ -103,6 +103,9 @@ static void* audio_ext_init(const char *device, unsigned rate, unsigned latency) if (ext->driver->sample_rate) g_settings.audio.out_rate = ext->driver->sample_rate(ext->handle); + if (!g_settings.audio.sync) + ext->driver->set_nonblock_state(ext->handle, SSNES_TRUE); + return ext; error: