summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index f5e6ceb..21930ee 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -456,22 +456,25 @@ static const struct plugin_api rockbox_api = {
#ifdef HAVE_RECORDING
&rec_freq_sampr[0],
#ifndef SIMULATOR
- pcm_set_monitor,
- pcm_set_rec_source,
pcm_init_recording,
pcm_close_recording,
pcm_record_data,
pcm_stop_recording,
pcm_calculate_rec_peaks,
+ audio_set_recording_gain,
+ audio_set_output_source,
rec_set_source,
#endif
#endif /* HAVE_RECORDING */
#endif /* CONFIG_CODEC == SWCODEC */
-
#ifdef IRAM_STEAL
plugin_iram_init,
#endif
+
+#if CONFIG_CODEC == SWCODEC && defined(HAVE_RECORDING) && !defined(SIMULATOR)
+ sound_default,
+#endif
};
int plugin_load(const char* plugin, void* parameter)