summaryrefslogtreecommitdiff
path: root/apps/recorder/pcm_record.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-05-16 11:13:42 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-05-16 11:13:42 +0000
commit7d5e0d73758cbe20596653d730a5c4ba60d7a3eb (patch)
treef9e621da19dcb490f05376ba2dcbdf13e21da1b1 /apps/recorder/pcm_record.c
parentc785722fecb9f653d70d37af3d5e47a7a5442def (diff)
downloadrockbox-7d5e0d73758cbe20596653d730a5c4ba60d7a3eb.tar.gz
rockbox-7d5e0d73758cbe20596653d730a5c4ba60d7a3eb.zip
FS#11263 - Radio Art support! %C and %Cl tags work in the radio screen and Base Skin when the radio is running.
put your station images in .rockbox/fmpresets/<preset name>.bmp or .jpg. Must be in preset mode and the preset name must match the filename git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26078 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/pcm_record.c')
-rw-r--r--apps/recorder/pcm_record.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/recorder/pcm_record.c b/apps/recorder/pcm_record.c
index e5a5107603..2567b56ef3 100644
--- a/apps/recorder/pcm_record.c
+++ b/apps/recorder/pcm_record.c
@@ -31,6 +31,7 @@
31#include "audio.h" 31#include "audio.h"
32#include "sound.h" 32#include "sound.h"
33#include "metadata.h" 33#include "metadata.h"
34#include "appevents.h"
34#ifdef HAVE_SPDIF_IN 35#ifdef HAVE_SPDIF_IN
35#include "spdif.h" 36#include "spdif.h"
36#endif 37#endif
@@ -1127,6 +1128,7 @@ static void pcmrec_new_stream(const char *filename, /* next file name */
1127static void pcmrec_init(void) 1128static void pcmrec_init(void)
1128{ 1129{
1129 unsigned char *buffer; 1130 unsigned char *buffer;
1131 send_event(RECORDING_EVENT_START, NULL);
1130 1132
1131 /* warings and errors */ 1133 /* warings and errors */
1132 warnings = 1134 warnings =
@@ -1183,6 +1185,7 @@ static void pcmrec_close(void)
1183 pcm_close_recording(); 1185 pcm_close_recording();
1184 reset_hardware(); 1186 reset_hardware();
1185 audio_remove_encoder(); 1187 audio_remove_encoder();
1188 send_event(RECORDING_EVENT_STOP, NULL);
1186} /* pcmrec_close */ 1189} /* pcmrec_close */
1187 1190
1188/* PCMREC_OPTIONS */ 1191/* PCMREC_OPTIONS */