diff options
author | Dave Chapman <dave@dchapman.com> | 2005-06-18 16:24:27 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-06-18 16:24:27 +0000 |
commit | 961c9a3e4103e766f52ff1d7c2af2db6119c72ec (patch) | |
tree | c4fd5b0ea3b7063315910fea159a590e74680ed4 /apps/playback.h | |
parent | 2bfd2585a9cfb8541047a3f5eedbfd05fe36f9f9 (diff) | |
download | rockbox-961c9a3e4103e766f52ff1d7c2af2db6119c72ec.tar.gz rockbox-961c9a3e4103e766f52ff1d7c2af2db6119c72ec.zip |
Added %fc WPS tag to display codec type - moved codectype from track_info struct into mp3info struct, initialise it on MAS platforms, and add it to the WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6748 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playback.h')
-rw-r--r-- | apps/playback.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/apps/playback.h b/apps/playback.h index 1df283e6b8..06b82b40e4 100644 --- a/apps/playback.h +++ b/apps/playback.h | |||
@@ -27,23 +27,6 @@ | |||
27 | #include "id3.h" | 27 | #include "id3.h" |
28 | #include "mp3data.h" | 28 | #include "mp3data.h" |
29 | 29 | ||
30 | /* Supported file types. */ | ||
31 | #define AFMT_MPA_L1 0x0001 // MPEG Audio layer 1 | ||
32 | #define AFMT_MPA_L2 0x0002 // MPEG Audio layer 2 | ||
33 | #define AFMT_MPA_L3 0x0004 // MPEG Audio layer 3 | ||
34 | /* (MPEG-1, 2, 2.5 layers 1, 2 and 3 */ | ||
35 | #define AFMT_PCM_WAV 0x0008 // Uncompressed PCM in a WAV file | ||
36 | #define AFMT_OGG_VORBIS 0x0010 // Ogg Vorbis | ||
37 | #define AFMT_FLAC 0x0020 // FLAC | ||
38 | #define AFMT_MPC 0x0040 // Musepack | ||
39 | #define AFMT_AAC 0x0080 // AAC | ||
40 | #define AFMT_APE 0x0100 // Monkey's Audio | ||
41 | #define AFMT_WMA 0x0200 // Windows Media Audio | ||
42 | #define AFMT_A52 0x0400 // A/52 (aka AC3) audio | ||
43 | #define AFMT_REAL 0x0800 // Realaudio | ||
44 | #define AFMT_UNKNOWN 0x1000 // Unknown file format | ||
45 | #define AFMT_WAVPACK 0x2000 // WavPack | ||
46 | |||
47 | /* File buffer configuration keys. */ | 30 | /* File buffer configuration keys. */ |
48 | #define CODEC_SET_FILEBUF_WATERMARK 1 | 31 | #define CODEC_SET_FILEBUF_WATERMARK 1 |
49 | #define CODEC_SET_FILEBUF_CHUNKSIZE 2 | 32 | #define CODEC_SET_FILEBUF_CHUNKSIZE 2 |
@@ -58,7 +41,6 @@ struct track_info { | |||
58 | struct mp3info mp3data; /* MP3 metadata */ | 41 | struct mp3info mp3data; /* MP3 metadata */ |
59 | char *codecbuf; /* Pointer to codec buffer */ | 42 | char *codecbuf; /* Pointer to codec buffer */ |
60 | size_t codecsize; /* Codec length in bytes */ | 43 | size_t codecsize; /* Codec length in bytes */ |
61 | int codectype; /* Codec type (example AFMT_MPA_L3) */ | ||
62 | 44 | ||
63 | off_t filerem; /* Remaining bytes of file NOT in buffer */ | 45 | off_t filerem; /* Remaining bytes of file NOT in buffer */ |
64 | off_t filesize; /* File total length */ | 46 | off_t filesize; /* File total length */ |