diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-05-19 18:29:27 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-05-19 18:29:27 +0000 |
commit | b4702463e2f15ce73447eb28786a5c2d033418d2 (patch) | |
tree | ee5bf136f6e5b91549c813582ed1a10be8ad68af /apps/plugin.h | |
parent | 1d16efbff83c75de39b0b49c1d2a678683e5091d (diff) |
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.h | 6 |
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 @@ #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 56 +#define PLUGIN_API_VERSION 57 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -611,6 +611,10 @@ struct plugin_api { const char *(*get_codec_filename)(int cod_spec); #endif struct thread_entry* threads; + + char *(*create_numbered_filename)(char *buffer, const char *path, + const char *prefix, const char *suffix, + int numberlen IF_CNFN_NUM_(, int *num)); }; /* plugin header */ |