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