Remove output_rate from DSP plug.
This commit is contained in:
parent
d027287d71
commit
be7a63932f
|
@ -30,20 +30,12 @@ extern "C" {
|
|||
#define RARCH_TRUE 1
|
||||
#endif
|
||||
|
||||
#define RARCH_DSP_API_VERSION 4
|
||||
#define RARCH_DSP_API_VERSION 5
|
||||
|
||||
typedef struct rarch_dsp_info
|
||||
{
|
||||
// Input sample rate that the DSP plugin receives. This is generally ~32kHz.
|
||||
// Some small variance is allowed due to syncing behavior.
|
||||
// Input sample rate that the DSP plugin receives.
|
||||
float input_rate;
|
||||
|
||||
// RetroArch requests that the DSP plugin resamples the
|
||||
// input to a certain frequency.
|
||||
//
|
||||
// However, the plugin might ignore this
|
||||
// using the resample field in rarch_dsp_output_t (see below).
|
||||
float output_rate;
|
||||
} rarch_dsp_info_t;
|
||||
|
||||
typedef struct rarch_dsp_output
|
||||
|
|
1
driver.c
1
driver.c
|
@ -285,7 +285,6 @@ static void init_dsp_plugin(void)
|
|||
RARCH_LOG("Loaded DSP plugin: \"%s\"\n", g_extern.audio_data.dsp_plugin->ident ? g_extern.audio_data.dsp_plugin->ident : "Unknown");
|
||||
|
||||
info.input_rate = g_settings.audio.in_rate;
|
||||
info.output_rate = g_settings.audio.out_rate;
|
||||
|
||||
g_extern.audio_data.dsp_handle = g_extern.audio_data.dsp_plugin->init(&info);
|
||||
if (!g_extern.audio_data.dsp_handle)
|
||||
|
|
Loading…
Reference in New Issue