From b89ec1369ffa79b0b6dd496618c71cc80ae69b50 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 9 Jan 2017 12:45:51 +0100 Subject: [PATCH] Rename rarch_resampler_* to retro_resampler_* --- audio/audio_driver.c | 4 ++-- audio/drivers_resampler/cc_resampler.c | 2 +- .../audio/resampler/audio_resampler.c | 12 ++++++------ .../audio/resampler/drivers/nearest_resampler.c | 2 +- .../audio/resampler/drivers/null_resampler.c | 2 +- .../audio/resampler/drivers/sinc_resampler.c | 2 +- libretro-common/include/audio/audio_resampler.h | 16 ++++++++-------- record/drivers/record_ffmpeg.c | 4 ++-- 8 files changed, 22 insertions(+), 22 deletions(-) diff --git a/audio/audio_driver.c b/audio/audio_driver.c index 4bdfc5f010..0c2a3e5aca 100644 --- a/audio/audio_driver.c +++ b/audio/audio_driver.c @@ -141,7 +141,7 @@ static struct retro_audio_callback audio_callback = {0}; static retro_dsp_filter_t *audio_driver_dsp = NULL; static struct string_list *audio_driver_devices_list = NULL; -static const rarch_resampler_t *audio_driver_resampler = NULL; +static const retro_resampler_t *audio_driver_resampler = NULL; static void *audio_driver_resampler_data = NULL; static const audio_driver_t *current_audio = NULL; static void *audio_driver_context_audio_data = NULL; @@ -295,7 +295,7 @@ static bool uninit_audio(void) static bool audio_driver_init_resampler(void) { settings_t *settings = config_get_ptr(); - return rarch_resampler_realloc( + return retro_resampler_realloc( &audio_driver_resampler_data, &audio_driver_resampler, settings->audio.resampler, diff --git a/audio/drivers_resampler/cc_resampler.c b/audio/drivers_resampler/cc_resampler.c index 6edcd0c475..b156ac28f4 100644 --- a/audio/drivers_resampler/cc_resampler.c +++ b/audio/drivers_resampler/cc_resampler.c @@ -540,7 +540,7 @@ static void resampler_CC_free(void *re_) (void)re_; } -rarch_resampler_t CC_resampler = { +retro_resampler_t CC_resampler = { resampler_CC_init, resampler_CC_process, resampler_CC_free, diff --git a/libretro-common/audio/resampler/audio_resampler.c b/libretro-common/audio/resampler/audio_resampler.c index 11e30113b7..cb424691a3 100644 --- a/libretro-common/audio/resampler/audio_resampler.c +++ b/libretro-common/audio/resampler/audio_resampler.c @@ -28,7 +28,7 @@ #include