(audio/resampler) Some changes

This commit is contained in:
twinaphex 2015-01-12 21:02:13 +01:00
parent d4b2c47d73
commit e59dace9e1
3 changed files with 16 additions and 9 deletions

View File

@ -20,6 +20,9 @@
#endif
#include <file/config_file_userdata.h>
#include <string.h>
#ifndef DONT_HAVE_STRING_LIST
#include <string/string_list.h>
#endif
static const rarch_resampler_t *resampler_drivers[] = {
&sinc_resampler,
@ -93,7 +96,9 @@ void find_next_resampler_driver(void)
RARCH_WARN("Couldn't find any next resampler driver (current one: \"%s\").\n",
driver.resampler->ident);
}
#endif
#ifndef DONT_HAVE_STRING_LIST
/**
* config_get_audio_resampler_driver_options:
*

View File

@ -143,6 +143,17 @@ extern rarch_resampler_t sinc_resampler;
extern rarch_resampler_t CC_resampler;
extern rarch_resampler_t nearest_resampler;
#ifndef DONT_HAVE_STRING_LIST
/**
* config_get_audio_resampler_driver_options:
*
* Get an enumerated list of all resampler driver names, separated by '|'.
*
* Returns: string listing of all resampler driver names, separated by '|'.
**/
const char* config_get_audio_resampler_driver_options(void);
#endif
/**
* rarch_resampler_realloc:
* @re : Resampler handle

View File

@ -347,15 +347,6 @@ void find_prev_driver(const char *label, char *str, size_t sizeof_str);
**/
void find_next_driver(const char *label, char *str, size_t sizeof_str);
/**
* config_get_audio_resampler_driver_options:
*
* Get an enumerated list of all resampler driver names, separated by '|'.
*
* Returns: string listing of all resampler driver names, separated by '|'.
**/
const char* config_get_audio_resampler_driver_options(void);
/**
* find_prev_resampler_driver:
*