Library for VLSI VS1053b - Ogg Vorbis / MP3 / AAC / WMA / FLAC / MIDI Audio Codec Chip for a complete sample see Lib_VS1053b
Dependents: Lab3_1 RTOS-VS1053b-mp3_semaphore RTOS-VS1053b-mp3_v01
Revision 9:0d76f559a151, committed 2011-01-16
- Comitter:
- christi_s
- Date:
- Sun Jan 16 16:53:16 2011 +0000
- Parent:
- 8:5e4a21202223
- Commit message:
Changed in this revision
VS1053.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 5e4a21202223 -r 0d76f559a151 VS1053.h --- a/VS1053.h Wed Jan 12 18:30:28 2011 +0000 +++ b/VS1053.h Sun Jan 16 16:53:16 2011 +0000 @@ -140,7 +140,7 @@ /** Types of audio streams * */ -typedef enum AudioType +enum AudioType { WAV, /*!< WAVE audio stream */ AAC, /*!< AAC audio stream (ADTS (.aac), MPEG2 ADIF (.aac) and MPEG4 AUDIO (.mp4 / .m4a / .3gp / .3g2)) */ @@ -149,30 +149,35 @@ OGG_VORBIS, /*!< Ogg Vorbis audio stream */ MP3, /*!< MPEG Audio Layer */ UNKNOWN /*!< Unknown */ -} AudioType; +}; + +typedef enum AudioType AudioType; /** Types of MPEG Audio Layer stream IDs. * */ -typedef enum MP3_ID +enum MP3_ID { MPG2_5a = 0, /*!< MPG 2.5, nonstandard, proprietary */ MPG2_5b = 1, /*!< MPG 2.5, nonstandard, proprietary */ MPG2_0 = 2, /*!< ISO 13818-3 MPG 2.0 */ MPG1_0 = 3 /*!< ISO 11172-3 MPG 1.0 */ -} MP3_ID; +}; + +typedef enum MP3_ID MP3_ID; /** Types of MPEG Audio Layer channel modes. * */ -typedef enum MP3_MODE +enum MP3_MODE { STEREO = 0, /*!< Stereo */ JOINT_STEREO = 1, /*!< Joint Stereo */ DUAL_CHANNEL = 2, /*!< Dual Channel */ MONO = 3 /*!< Mono */ -} MP3_MODE; +}; +typedef enum MP3_MODE MP3_MODE; /** Struct for informations about audio streams. * */