📄 decoder_defines.h
字号:
/************************************************** * * decoder_defines.h * * CVS ID: $Id: decoder_defines.h,v 1.9 2006/09/18 09:55:21 belardi Exp $ * Author: Ondrej Kutik [OK] - STM * Date: $Date: 2006/09/18 09:55:21 $ * Revision: $Revision: 1.9 $ * * Description: * * *************************************************** * * COPYRIGHT (C) ST Microelectronics 2005 * All Rights Reserved * **************************************************** * * STM CVS Log: * * $Log: decoder_defines.h,v $ * Revision 1.9 2006/09/18 09:55:21 belardi * Corrected CVS keyword usage * * Revision 1.8 2006/09/18 09:23:02 belardi * Added Log CVS keyword into file header * * ***************************************************/#ifndef _DECODER_DEFINES_H_#define _DECODER_DEFINES_H_// reort time event - should be configurable:#define DECODER_TIME_INTERVAL 1000 // in miliseconds/* * Description: * Enumeration of the sample rates supported by all the audio decoders */typedef enum tagDecoderSampleRate{ kDecoderSampleRate_Undefined = 0, kDecoderSampleRate_8000Hz = 8000, kDecoderSampleRate_11025Hz = 11025, kDecoderSampleRate_12000Hz = 12000, kDecoderSampleRate_16000Hz = 16000, kDecoderSampleRate_22050Hz = 22050, kDecoderSampleRate_24000Hz = 24000, kDecoderSampleRate_32000Hz = 32000, kDecoderSampleRate_44100Hz = 44100, kDecoderSampleRate_48000Hz = 48000, kDecoderSampleRate_64000Hz = 64000, kDecoderSampleRate_88200Hz = 88200, kDecoderSampleRate_96000Hz = 96000 /* add other sample rates here */} eDecoderSampleRate ;// for Filesystem / Controller / Decodertypedef enum s_PlayMode { playModePlay, playModeSeek, playModeScan} t_PlayMode;// for AudioBuffer and FrameBuffertypedef enum ElementFlagType_tag { FT_FIRST = 0x1, FT_LAST = 0x2, FT_MIDDLE = 0x4, FT_UNFINISHED = 0x8, FT_FSLAST = 0x10, FT_DUMMY = 0xFFFF // Force Enum type to uint16 to avoid byte access // to SDRAM} ElementFlagType;#endif //_DECODER_DEFINES_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -