summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-06-08 23:42:04 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-06-08 23:42:04 +0000
commit2d48d0ffa6baddd19e6ff077f25068f90af7be3d (patch)
tree68c80646a748496fee423d77aa43afafb783b269 /apps/plugin.h
parenta85793fc54a0079f5483d5a5c6c60b7d17ca688c (diff)
downloadrockbox-2d48d0ffa6baddd19e6ff077f25068f90af7be3d.tar.gz
rockbox-2d48d0ffa6baddd19e6ff077f25068f90af7be3d.zip
Straighten out some audio path APIs and misc. audio stuff. Having recording is not a prerequisite to having input/output source selection which is probably most useful when adding a audio input features like FM to a new port without forcing recording to be implemented first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13599 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 2c8b328fe1..bc6adffab2 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -448,11 +448,12 @@ struct plugin_api {
448 void (*pcm_stop_recording)(void); 448 void (*pcm_stop_recording)(void);
449 void (*pcm_calculate_rec_peaks)(int *left, int *right); 449 void (*pcm_calculate_rec_peaks)(int *left, int *right);
450 void (*audio_set_recording_gain)(int left, int right, int type); 450 void (*audio_set_recording_gain)(int left, int right, int type);
451 void (*audio_set_output_source)(int monitor);
452 void (*rec_set_source)(int source, unsigned flags);
453#endif /* HAVE_RECORDING */ 451#endif /* HAVE_RECORDING */
454 452#if INPUT_SRC_CAPS != 0
453 void (*audio_set_output_source)(int monitor);
454 void (*audio_set_input_source)(int source, unsigned flags);
455#endif 455#endif
456#endif /* CONFIG_CODEC == SWCODC */
456 457
457 /* playback control */ 458 /* playback control */
458 int (*playlist_amount)(void); 459 int (*playlist_amount)(void);