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 f5e6cebf65..21930ee3a8 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -456,22 +456,25 @@ static const struct plugin_api rockbox_api = {
456#ifdef HAVE_RECORDING 456#ifdef HAVE_RECORDING
457 &rec_freq_sampr[0], 457 &rec_freq_sampr[0],
458#ifndef SIMULATOR 458#ifndef SIMULATOR
459 pcm_set_monitor,
460 pcm_set_rec_source,
461 pcm_init_recording, 459 pcm_init_recording,
462 pcm_close_recording, 460 pcm_close_recording,
463 pcm_record_data, 461 pcm_record_data,
464 pcm_stop_recording, 462 pcm_stop_recording,
465 pcm_calculate_rec_peaks, 463 pcm_calculate_rec_peaks,
464 audio_set_recording_gain,
465 audio_set_output_source,
466 rec_set_source, 466 rec_set_source,
467#endif 467#endif
468#endif /* HAVE_RECORDING */ 468#endif /* HAVE_RECORDING */
469#endif /* CONFIG_CODEC == SWCODEC */ 469#endif /* CONFIG_CODEC == SWCODEC */
470 470
471
472#ifdef IRAM_STEAL 471#ifdef IRAM_STEAL
473 plugin_iram_init, 472 plugin_iram_init,
474#endif 473#endif
474
475#if CONFIG_CODEC == SWCODEC && defined(HAVE_RECORDING) && !defined(SIMULATOR)
476 sound_default,
477#endif
475}; 478};
476 479
477int plugin_load(const char* plugin, void* parameter) 480int plugin_load(const char* plugin, void* parameter)