summaryrefslogtreecommitdiff
path: root/apps/recorder
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2008-10-15 06:38:51 +0000
committerBjörn Stenberg <bjorn@haxx.se>2008-10-15 06:38:51 +0000
commit51b45d56029eb8b928be64fc50332f3ba10e0228 (patch)
tree675370fb2fd6c8f09f51c214567fa82a38155ad6 /apps/recorder
parenta18ef2efd389b1874b09264d497232ccc9386e9e (diff)
downloadrockbox-51b45d56029eb8b928be64fc50332f3ba10e0228.tar.gz
rockbox-51b45d56029eb8b928be64fc50332f3ba10e0228.zip
Split id3.c/h into metadata.c/h and metadata/mp3.c. Updated all references. Moved mp3data.c/h from firmware to apps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18814 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/albumart.c2
-rw-r--r--apps/recorder/albumart.h2
-rw-r--r--apps/recorder/icons.c2
-rw-r--r--apps/recorder/icons.h5
-rw-r--r--apps/recorder/pcm_record.c2
5 files changed, 7 insertions, 6 deletions
diff --git a/apps/recorder/albumart.c b/apps/recorder/albumart.c
index 29a1ed39e9..30a4e0c49f 100644
--- a/apps/recorder/albumart.c
+++ b/apps/recorder/albumart.c
@@ -23,7 +23,7 @@
23#include "sprintf.h" 23#include "sprintf.h"
24#include "system.h" 24#include "system.h"
25#include "albumart.h" 25#include "albumart.h"
26#include "id3.h" 26#include "metadata.h"
27#include "gwps.h" 27#include "gwps.h"
28#include "buffering.h" 28#include "buffering.h"
29#include "dircache.h" 29#include "dircache.h"
diff --git a/apps/recorder/albumart.h b/apps/recorder/albumart.h
index e7033c19e9..52e7c74c02 100644
--- a/apps/recorder/albumart.h
+++ b/apps/recorder/albumart.h
@@ -25,7 +25,7 @@
25#ifdef HAVE_ALBUMART 25#ifdef HAVE_ALBUMART
26 26
27#include <stdbool.h> 27#include <stdbool.h>
28#include "id3.h" 28#include "metadata.h"
29#include "gwps.h" 29#include "gwps.h"
30 30
31/* Look for albumart bitmap in the same dir as the track and in its parent dir. 31/* Look for albumart bitmap in the same dir as the track and in its parent dir.
diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c
index c4f18e82ff..0b48c125d1 100644
--- a/apps/recorder/icons.c
+++ b/apps/recorder/icons.c
@@ -28,7 +28,7 @@
28 28
29#include "settings.h" 29#include "settings.h"
30 30
31#include "id3.h" 31#include "metadata.h"
32#include "icons.h" 32#include "icons.h"
33 33
34const unsigned char bitmap_icons_5x8[][5] = 34const unsigned char bitmap_icons_5x8[][5] =
diff --git a/apps/recorder/icons.h b/apps/recorder/icons.h
index dca5f29c90..767e0f2a14 100644
--- a/apps/recorder/icons.h
+++ b/apps/recorder/icons.h
@@ -24,6 +24,7 @@
24#ifndef PLUGIN 24#ifndef PLUGIN
25 25
26#include <lcd.h> 26#include <lcd.h>
27#include "metadata.h"
27 28
28#ifdef HAVE_LCD_BITMAP 29#ifdef HAVE_LCD_BITMAP
29 30
@@ -88,7 +89,7 @@ enum Glyphs_4x8 {
88extern const unsigned char bitmap_glyphs_4x8[Glyph_4x8Last][4]; 89extern const unsigned char bitmap_glyphs_4x8[Glyph_4x8Last][4];
89 90
90#define BM_MPA_L3_M_WIDTH 6 91#define BM_MPA_L3_M_WIDTH 6
91#ifdef ID3_H 92
92/* This enum is redundant but sort of in keeping with the style */ 93/* This enum is redundant but sort of in keeping with the style */
93enum rec_format_18x8 { 94enum rec_format_18x8 {
94 Format_18x8_AIFF = REC_FORMAT_AIFF, 95 Format_18x8_AIFF = REC_FORMAT_AIFF,
@@ -98,7 +99,7 @@ enum rec_format_18x8 {
98 Format_18x8Last = REC_NUM_FORMATS 99 Format_18x8Last = REC_NUM_FORMATS
99}; 100};
100extern const unsigned char bitmap_formats_18x8[Format_18x8Last][18]; 101extern const unsigned char bitmap_formats_18x8[Format_18x8Last][18];
101#endif /* ID3_H */ 102
102#endif /* CONFIG_CODEC == SWCODEC && defined (HAVE_RECORDING) */ 103#endif /* CONFIG_CODEC == SWCODEC && defined (HAVE_RECORDING) */
103 104
104extern const unsigned char bitmap_icons_5x8[Icon5x8Last][5]; 105extern const unsigned char bitmap_icons_5x8[Icon5x8Last][5];
diff --git a/apps/recorder/pcm_record.c b/apps/recorder/pcm_record.c
index b1ea535470..da4e9b7255 100644
--- a/apps/recorder/pcm_record.c
+++ b/apps/recorder/pcm_record.c
@@ -30,7 +30,7 @@
30#include "general.h" 30#include "general.h"
31#include "audio.h" 31#include "audio.h"
32#include "sound.h" 32#include "sound.h"
33#include "id3.h" 33#include "metadata.h"
34#ifdef HAVE_SPDIF_IN 34#ifdef HAVE_SPDIF_IN
35#include "spdif.h" 35#include "spdif.h"
36#endif 36#endif