mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 19:21:06 +00:00
Cleanups
This commit is contained in:
parent
a94b15ac86
commit
f9b44bbcf6
@ -22,7 +22,6 @@
|
|||||||
#include "audio_resampler_driver.h"
|
#include "audio_resampler_driver.h"
|
||||||
#include "../config_file_userdata.h"
|
#include "../config_file_userdata.h"
|
||||||
#include "../performance_counters.h"
|
#include "../performance_counters.h"
|
||||||
#include "../list_special.h"
|
|
||||||
|
|
||||||
static const rarch_resampler_t *resampler_drivers[] = {
|
static const rarch_resampler_t *resampler_drivers[] = {
|
||||||
&sinc_resampler,
|
&sinc_resampler,
|
||||||
@ -90,18 +89,6 @@ const char *audio_resampler_driver_find_ident(int idx)
|
|||||||
return drv->ident;
|
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:
|
* find_resampler_driver:
|
||||||
* @ident : Identifier of resampler driver to find.
|
* @ident : Identifier of resampler driver to find.
|
||||||
|
@ -139,15 +139,6 @@ extern rarch_resampler_t CC_resampler;
|
|||||||
extern rarch_resampler_t nearest_resampler;
|
extern rarch_resampler_t nearest_resampler;
|
||||||
extern rarch_resampler_t null_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:
|
* audio_resampler_driver_find_handle:
|
||||||
* @index : index of driver to get handle to.
|
* @index : index of driver to get handle to.
|
||||||
|
@ -61,6 +61,7 @@
|
|||||||
#include "../dirs.h"
|
#include "../dirs.h"
|
||||||
#include "../paths.h"
|
#include "../paths.h"
|
||||||
#include "../dynamic.h"
|
#include "../dynamic.h"
|
||||||
|
#include "../list_special.h"
|
||||||
#include "../runloop.h"
|
#include "../runloop.h"
|
||||||
#include "../verbosity.h"
|
#include "../verbosity.h"
|
||||||
#include "../camera/camera_driver.h"
|
#include "../camera/camera_driver.h"
|
||||||
@ -2122,6 +2123,18 @@ static bool setting_append_list_input_player_options(
|
|||||||
return true;
|
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(
|
static bool setting_append_list(
|
||||||
enum settings_list_type type,
|
enum settings_list_type type,
|
||||||
rarch_setting_t **list,
|
rarch_setting_t **list,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user