From e5d54fe7f57926d71cc2770bac372cf47f770c78 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sat, 28 Aug 2010 16:50:45 +0200 Subject: [PATCH] fixes. --- config.h | 14 +++++++------- config.mk | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/config.h b/config.h index b83ed96a0b..d9ae22133a 100644 --- a/config.h +++ b/config.h @@ -41,7 +41,7 @@ // Chooses which video and audio subsystem to use. Remember to update config.mk if you change these. #define VIDEO_DRIVER VIDEO_GL -#define AUDIO_DRIVER AUDIO_AL +#define AUDIO_DRIVER AUDIO_ALSA //////////////// @@ -54,8 +54,8 @@ static const float yscale = 4.0; // Real y res = 224 * yscale // Fullscreen static bool fullscreen = false; // To start in Fullscreen or not -static const unsigned fullscreen_x = 1920; -static const unsigned fullscreen_y = 1200; +static const unsigned fullscreen_x = 1280; +static const unsigned fullscreen_y = 720; // Video VSYNC (recommended) static const bool vsync = true; @@ -76,7 +76,7 @@ static const bool force_aspect = true; //////////////////////// // If you change this to something other than FILTER_NONE, make sure that you build the filter module in config.mk. -#define VIDEO_FILTER FILTER_NTSC +#define VIDEO_FILTER FILTER_NONE //////////////// @@ -87,17 +87,17 @@ static const bool force_aspect = true; static const bool audio_enable = true; // Output samplerate -static const unsigned out_rate = 44100; +static const unsigned out_rate = 48000; // Input samplerate from libSNES. // Lower this (slightly) if you are experiencing frequent audio dropouts and vsync is enabled. -static const unsigned in_rate = 31930; +static const unsigned in_rate = 31950; // Audio device (e.g. hw:0,0 or /dev/audio). If NULL, will use defaults. static const char* audio_device = NULL; // Desired audio latency in milliseconds. Might not be honored if driver can't provide given latency. -static const int out_latency = 32; +static const int out_latency = 64; // Will sync audio. (recommended) static const bool audio_sync = true; diff --git a/config.mk b/config.mk index c19020cae7..4a8dae50e4 100644 --- a/config.mk +++ b/config.mk @@ -1,13 +1,13 @@ BUILD_OPENGL = 1 -BUILD_FILTER = 1 +BUILD_FILTER = 0 BUILD_RSOUND = 0 BUILD_OSS = 0 -BUILD_ALSA = 0 +BUILD_ALSA = 1 BUILD_ROAR = 0 -BUILD_AL = 1 +BUILD_AL = 0 -PREFIX = /usr +PREFIX = /usr/local