Remove output_rate from DSP plug.

This commit is contained in:
Themaister 2012-10-16 12:54:29 +02:00
parent d027287d71
commit be7a63932f
2 changed files with 2 additions and 11 deletions

View File

@ -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

View File

@ -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)