⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wma_fixed_header.c

📁 本程序为ST公司开发的源代码
💻 C
字号:
#include "accordoptypes.h"#include "gendef.h"#include "decoder_task.h"//WMA ASF header parse stuff ***#include "wmawfxdefs.h"	//[LL]#include "wmawrap.h"//WMA ASF header parse stuff ***tWMAFileHdrStateInternal FileDesc; // WMA file description/*tWMAFileStatus GetASFHeader(tWMAFileHdrStateInternal *pInt){	pInt->wTargetAudioStreamNumber = 1; //wTargetAudioStream;	// should be implemented some kind of protection	// i.e return NULL if FileDesc not ready	// [LL] uncommented checking in WMAFileDecodeInitEx()	*pInt = FileDesc;	return cWMA_NoErr;}*/tWMAFileHdrStateInternal FileDesc = {	NULL,    4969,	//U64     currPacketOffset;     /* not just for packets */    5640,	//U64     nextPacketOffset;    /* ASF header */    4969,	//DWORD   cbHeader;    671,	//DWORD   cbPacketSize;    0,	//DWORD   cbAudioSize;    721,	//DWORD   cPackets;    230721,	//DWORD   msDuration;    1345,	//DWORD   msPreroll;    4969,	//U64     cbFirstPacketOffset;    488089,	//U64     cbLastPacketOffset;    2,	//DWORD   dwFilePropertiesFlags;    /* audio prop */    2,	//WORD    nVersion;    353,	//WORD    wFormatTag;    16000,	//DWORD   nSamplesPerSec;    2000,	//DWORD   nAvgBytesPerSec;    640,	//DWORD   nBlockAlign;    2,	//WORD    nChannels;    8704,	//DWORD   nSamplesPerBlock;    46,	//WORD    nEncodeOpt;        // Added in V9    1,	//WORD    wPCMFormatTag;    16,	//WORD    wBitsPerSample; // container size    16,	//WORD    wValidBitsPerSample; // actual valid data depth in the decoded stream    3,	//DWORD   dwChannelMask;    {0,0,0,{ 0,0,10,10,1,1,5,8}},	//GUID    SubFormat;    16,	//WORD    wOriginalBitDepth; // actual valid data depth in the original source (informational)        /* DRM */        {0,0,10,10,1,1,6,2},	//BYTE    pbSecretData[32];    0,	//DWORD   cbSecretData;    {0,0,10,10,1,1,8,8},	//BYTE    pbType[16];    {0,0,10,10,1,1,9,8},	//BYTE    pbKeyID[32];#ifdef WMDRM_PORTABLE    WORD cbCEncExData;    BYTE *pbCEncExData;#endif    /* Content Description */	0x0, //should be not initialized (tWMAFileContDesc*)0x00aa28d0,	//tWMAFileContDesc		*m_pDesc;    /* Extended Content Description */    0x0, //should be not initialized (tWMAExtendedContentDesc*)0x00aa2d90,	//tWMAExtendedContentDesc *m_pECDesc;    /* Marker */    0,	//DWORD   m_dwMarkerNum;    0x0,	//MarkerEntry *m_pMarker;    /* License Store */    0,	//DWORD   m_dwLicenseLen;    0x0,	//BYTE   *m_pLicData;#ifndef WMAAPI_NO_DRM_STREAM    BYTE    bAudioStreamNum;    BYTE    bDRMAuxStreamNum;#endif// Members added by Amit     1,	//WORD    wAudioStreamId;//O.K. no metadata 0x00aa10b0   WMA_MetaDataEntry *ptMetaDataEntry;    // Members added by Naveen for MBR support    1,	//WORD    wTargetAudioStreamNumber;    1,	//WORD    cAudioStreams;#ifdef WMDRM_NETWORK    WORD cPEData;    WMA_StreamPayloadExtensionData PEData[ WMA_MAX_PAYLOAD_EXTENSION_STREAMS ];#endif};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -