From 6a7e03aadb54bb5598664d205059e8fa850179f1 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 3 Dec 2012 03:21:10 +0100 Subject: [PATCH] (Android) Fix sound - don't fix samplerate at 44Khz --- audio/opensl.c | 2 -- gfx/gl.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/audio/opensl.c b/audio/opensl.c index 8483e815d6..f672b99e89 100644 --- a/audio/opensl.c +++ b/audio/opensl.c @@ -109,8 +109,6 @@ static void *sl_init(const char *device, unsigned rate, unsigned latency) { (void)device; - g_settings.audio.out_rate = 44100; - SLDataFormat_PCM fmt_pcm = {0}; SLDataSource audio_src = {0}; SLDataSink audio_sink = {0}; diff --git a/gfx/gl.c b/gfx/gl.c index 2606410ea3..bccfd634fe 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -1175,7 +1175,7 @@ static bool gl_frame(void *data, const void *frame, unsigned width, unsigned hei if (msg) gl_render_msg(gl, msg); -#if !defined(RARCH_CONSOLE) && !defined(ANDROID) +#if !defined(RARCH_CONSOLE) context_update_window_title_func(false); #endif