summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-05-19 18:29:27 +0000
committerJens Arnold <amiconn@rockbox.org>2007-05-19 18:29:27 +0000
commitb4702463e2f15ce73447eb28786a5c2d033418d2 (patch)
treeee5bf136f6e5b91549c813582ed1a10be8ad68af /apps/plugin.h
parent1d16efbff83c75de39b0b49c1d2a678683e5091d (diff)
downloadrockbox-b4702463e2f15ce73447eb28786a5c2d033418d2.tar.gz
rockbox-b4702463e2f15ce73447eb28786a5c2d033418d2.zip
Archos Recorders, Ondio FM: WAV recording plugin. This is considered a technical preview, and has the following limitations: * No peakmeters and no gain control. The plugin reuses the gain values from the core, so use the core's recording screen to set gain, then call the plugin. * Recording directory is fixed, and on Ondio it always records to external MMC (there is not much point to record WAV to the 128MB internal flash). * All supported targets just generate numbered filenames, i.e. no R[DATE][TIME].wav files on recorders. * Only records to a single file, and will stop when approaching the safe file size limit of 2GB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13416 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 08d320ed57..2c8b328fe1 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -114,7 +114,7 @@
114#define PLUGIN_MAGIC 0x526F634B /* RocK */ 114#define PLUGIN_MAGIC 0x526F634B /* RocK */
115 115
116/* increase this every time the api struct changes */ 116/* increase this every time the api struct changes */
117#define PLUGIN_API_VERSION 56 117#define PLUGIN_API_VERSION 57
118 118
119/* update this to latest version if a change to the api struct breaks 119/* update this to latest version if a change to the api struct breaks
120 backwards compatibility (and please take the opportunity to sort in any 120 backwards compatibility (and please take the opportunity to sort in any
@@ -611,6 +611,10 @@ struct plugin_api {
611 const char *(*get_codec_filename)(int cod_spec); 611 const char *(*get_codec_filename)(int cod_spec);
612#endif 612#endif
613 struct thread_entry* threads; 613 struct thread_entry* threads;
614
615 char *(*create_numbered_filename)(char *buffer, const char *path,
616 const char *prefix, const char *suffix,
617 int numberlen IF_CNFN_NUM_(, int *num));
614}; 618};
615 619
616/* plugin header */ 620/* plugin header */