TSample.h
上传用户:snevogroup
上传日期:2008-06-06
资源大小:432k
文件大小:1k
- #ifndef __TSAMPLE_H
- #define __TSAMPLE_H
- #include <e32std.h>
- // support 16-bit sample
- class TSample
- {
- // Construct
- public:
- inline TSample() : iData(NULL){}
- inline TSample(TInt16* aData, TInt aLength)
- : iData(aData)
- , iLength(aLength)
- , iRepStart(0)
- , iRepEnd(0){}
- inline TSample(TInt16* aData, TInt aLength, TInt aRepStart, TInt aRepEnd)
- : iData(aData)
- , iLength(aLength)
- , iRepStart(aRepStart)
- , iRepEnd(aRepEnd){}
- ////////////////////////////////////////////////////////////////////
- // Data
- public:
- TInt16* iData;
- TInt iLength;
- TInt iRepStart;
- TInt iRepEnd;
- };
- #endif