mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-16 15:27:41 +00:00
(audio/resampler) Some changes
This commit is contained in:
parent
d4b2c47d73
commit
e59dace9e1
@ -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:
|
||||
*
|
||||
|
@ -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
|
||||
|
9
driver.h
9
driver.h
@ -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:
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user