Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of VS1053b by
Revision 9:0d76f559a151, committed 2011-01-16
- Comitter:
- christi_s
- Date:
- Sun Jan 16 16:53:16 2011 +0000
- Parent:
- 8:5e4a21202223
- Child:
- 10:114ac02a3875
- Commit message:
Changed in this revision
| VS1053.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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.
*
*/
