📄 rmdts-detector.h
字号:
/***************************************** Copyright © 2001-2003 Sigma Designs, Inc. All Rights Reserved Proprietary and Confidential *****************************************//** @file rmdts-detector.h @brief Simple Interface to a DTS detector. @author Oriol Prieto Gasco @date 2005-03-22*/#ifndef __RMDTSDETECTOR_H__#define __RMDTSDETECTOR_H__#include "rmdetector-common.h"typedef enum { DTS_SEEK_SYNC0 = 0, DTS_SEEK_SYNC1, DTS_SEEK_SYNC2, DTS_SEEK_SYNC3, DTS_SEEK_SYNC4, DTS_SKIP_NBLKS, DTS_SKIP_FSIZE, DTS_READ_AMODE, DTS_READ_SFREQ, DTS_READ_RATE} DTSState;class RMdtsDetector : public RMobject{ public: RMdtsDetector (); ~RMdtsDetector(); // Resets the detector to parse a new bitstream. void Reset(void); RMbool Detect(RMuint8 *pbuffer, RMuint32 size); RMstatus GetType(eAudioFormat_type *audioType); RMstatus GetParams(RMuint32 *frequency, RMuint32 *numberOfChannels, RMuint32 *bitrate); RMstatus GetAudioSpecificInfo(struct RM_Detection_Specific_Info *info); private: DTSState m_DTSState; RMuint8 m_DTSChanAMODE; RMuint8 m_DTSFrequencyIndex; RMuint8 m_DTSBitrateIndex; RMuint32 m_frequency; RMuint32 m_bitrate; RMuint32 m_channels; RMbool m_isDTS;};#endif // __RMDTSDETECTOR_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -