This commit is contained in:
Themaister 2010-08-19 15:56:00 +02:00
parent f9a177880e
commit 6f53dc0fa3
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ static const char* audio_device = "hw:0";
static const int out_latency = 16;
// Will sync audio. (recommended)
static const bool audio_sync = true;
static const bool audio_sync = false;
// Defines the quality (and cpu reqirements) of samplerate conversion.
#define SAMPLERATE_QUALITY SRC_LINEAR

View File

@ -88,7 +88,7 @@ void set_fast_forward_button(bool new_button_state)
{
syncing_state = !syncing_state;
if (video_active)
driver.video->set_nonblock_state(driver.video_data, (audio_sync) ? syncing_state : true);
driver.video->set_nonblock_state(driver.video_data, syncing_state);
if (audio_active)
driver.audio->set_nonblock_state(driver.audio_data, (audio_sync) ? syncing_state : true);
if (syncing_state)