From b4702463e2f15ce73447eb28786a5c2d033418d2 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 19 May 2007 18:29:27 +0000 Subject: 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 --- apps/plugin.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apps/plugin.h') 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 */ -- cgit v1.2.3