This commit is contained in:
twinaphex 2016-12-12 12:29:37 +01:00
parent a94b15ac86
commit f9b44bbcf6
3 changed files with 13 additions and 22 deletions

View File

@ -22,7 +22,6 @@
#include "audio_resampler_driver.h"
#include "../config_file_userdata.h"
#include "../performance_counters.h"
#include "../list_special.h"
static const rarch_resampler_t *resampler_drivers[] = {
&sinc_resampler,
@ -90,18 +89,6 @@ const char *audio_resampler_driver_find_ident(int idx)
return drv->ident;
}
/**
* 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)
{
return char_list_new_special(STRING_LIST_AUDIO_RESAMPLER_DRIVERS, NULL);
}
/**
* find_resampler_driver:
* @ident : Identifier of resampler driver to find.

View File

@ -139,15 +139,6 @@ extern rarch_resampler_t CC_resampler;
extern rarch_resampler_t nearest_resampler;
extern rarch_resampler_t null_resampler;
/**
* 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);
/**
* audio_resampler_driver_find_handle:
* @index : index of driver to get handle to.

View File

@ -61,6 +61,7 @@
#include "../dirs.h"
#include "../paths.h"
#include "../dynamic.h"
#include "../list_special.h"
#include "../runloop.h"
#include "../verbosity.h"
#include "../camera/camera_driver.h"
@ -2122,6 +2123,18 @@ static bool setting_append_list_input_player_options(
return true;
}
/**
* 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 '|'.
**/
static const char* config_get_audio_resampler_driver_options(void)
{
return char_list_new_special(STRING_LIST_AUDIO_RESAMPLER_DRIVERS, NULL);
}
static bool setting_append_list(
enum settings_list_type type,
rarch_setting_t **list,