From 7d5e0d73758cbe20596653d730a5c4ba60d7a3eb Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 16 May 2010 11:13:42 +0000 Subject: 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/.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 --- apps/recorder/pcm_record.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/recorder/pcm_record.c') 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 @@ #include "audio.h" #include "sound.h" #include "metadata.h" +#include "appevents.h" #ifdef HAVE_SPDIF_IN #include "spdif.h" #endif @@ -1127,6 +1128,7 @@ static void pcmrec_new_stream(const char *filename, /* next file name */ static void pcmrec_init(void) { unsigned char *buffer; + send_event(RECORDING_EVENT_START, NULL); /* warings and errors */ warnings = @@ -1183,6 +1185,7 @@ static void pcmrec_close(void) pcm_close_recording(); reset_hardware(); audio_remove_encoder(); + send_event(RECORDING_EVENT_STOP, NULL); } /* pcmrec_close */ /* PCMREC_OPTIONS */ -- cgit v1.2.3