From a8c89077d78769bf4840fa91609edc51fe2fa02d Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Queru Date: Thu, 12 Nov 2009 18:45:37 -0800 Subject: eclair snapshot --- arm-hybrid-22k/lib_src/eas_smfdata.h | 108 +++++++++++++++++------------------ 1 file changed, 54 insertions(+), 54 deletions(-) (limited to 'arm-hybrid-22k/lib_src/eas_smfdata.h') diff --git a/arm-hybrid-22k/lib_src/eas_smfdata.h b/arm-hybrid-22k/lib_src/eas_smfdata.h index cf59cdc..8861d90 100644 --- a/arm-hybrid-22k/lib_src/eas_smfdata.h +++ b/arm-hybrid-22k/lib_src/eas_smfdata.h @@ -1,14 +1,14 @@ -/*---------------------------------------------------------------------------- - * - * File: - * eas_smfdata.h - * - * Contents and purpose: - * SMF File Parser - * - * This file contains data definitions for the SMF parser. - * - * Copyright Sonic Network Inc. 2005 +/*---------------------------------------------------------------------------- + * + * File: + * eas_smfdata.h + * + * Contents and purpose: + * SMF File Parser + * + * This file contains data definitions for the SMF parser. + * + * Copyright Sonic Network Inc. 2005 * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,46 +21,46 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * - *---------------------------------------------------------------------------- - * Revision Control: - * $Revision: 686 $ - * $Date: 2007-05-03 14:10:54 -0700 (Thu, 03 May 2007) $ - *---------------------------------------------------------------------------- -*/ - -#ifndef _EAS_SMF_DATA_H -#define _EAS_SMF_DATA_H - -#ifndef MAX_SMF_STREAMS -#define MAX_SMF_STREAMS 17 -#endif - -/* offsets in to the SMF file */ -#define SMF_OFS_HEADER_SIZE 4 -#define SMF_OFS_FILE_TYPE 8 -#define SMF_OFS_NUM_TRACKS 10 - -/* size of chunk info (chunk ID + chunk size) */ -#define SMF_CHUNK_INFO_SIZE 8 - -/* 'MTrk' track chunk ID */ -#define SMF_CHUNK_TYPE_TRACK 0x4d54726bL - -/* some useful meta-events */ -#define SMF_META_TEXT 0x01 -#define SMF_META_COPYRIGHT 0x02 -#define SMF_META_SEQTRK_NAME 0x03 -#define SMF_META_LYRIC 0x05 -#define SMF_META_END_OF_TRACK 0x2f -#define SMF_META_TEMPO 0x51 -#define SMF_META_TIME_SIGNATURE 0x58 - -/* default timebase (120BPM) */ -#define SMF_DEFAULT_TIMEBASE 500000L - -/* value for pSMFStream->ticks to signify end of track */ -#define SMF_END_OF_TRACK 0xffffffff - -#endif - + * + *---------------------------------------------------------------------------- + * Revision Control: + * $Revision: 686 $ + * $Date: 2007-05-03 14:10:54 -0700 (Thu, 03 May 2007) $ + *---------------------------------------------------------------------------- +*/ + +#ifndef _EAS_SMF_DATA_H +#define _EAS_SMF_DATA_H + +#ifndef MAX_SMF_STREAMS +#define MAX_SMF_STREAMS 17 +#endif + +/* offsets in to the SMF file */ +#define SMF_OFS_HEADER_SIZE 4 +#define SMF_OFS_FILE_TYPE 8 +#define SMF_OFS_NUM_TRACKS 10 + +/* size of chunk info (chunk ID + chunk size) */ +#define SMF_CHUNK_INFO_SIZE 8 + +/* 'MTrk' track chunk ID */ +#define SMF_CHUNK_TYPE_TRACK 0x4d54726bL + +/* some useful meta-events */ +#define SMF_META_TEXT 0x01 +#define SMF_META_COPYRIGHT 0x02 +#define SMF_META_SEQTRK_NAME 0x03 +#define SMF_META_LYRIC 0x05 +#define SMF_META_END_OF_TRACK 0x2f +#define SMF_META_TEMPO 0x51 +#define SMF_META_TIME_SIGNATURE 0x58 + +/* default timebase (120BPM) */ +#define SMF_DEFAULT_TIMEBASE 500000L + +/* value for pSMFStream->ticks to signify end of track */ +#define SMF_END_OF_TRACK 0xffffffff + +#endif + -- cgit v1.2.3