MPEGLAYER3WAVEFORMAT Structure Microsoft DirectShow 9.0 MPEGLAYER3WAVEFORMAT Structure The MPEGLAYER3WAVEFORMAT structure describes an MPEG Audio Layer-3 (MP3) audio format. Syntaxtypedef struct mpeglayer3waveformat_tag { WAVEFORMATEX wfx; WORD wID; DWORD fdwFlags; WORD nBlockSize; WORD nFramesPerBlock; WORD nCodecDelay; } MPEGLAYER3WAVEFORMAT; Members wfx WAVEFORMATEX structure that specifies the basic audio format. The wFormatTag member must be WAVE_FORMAT_MPEGLAYER3. The cbSize member must be at least 12. (For cbSize, you can use the constant MPEGLAYER3_WFX_EXTRA_BYTES, defined in the Mmreg.h.) wID Set this structure member to MPEGLAYER3_ID_MPEG. fdwFlags Indicates whether padding is used to adjust the average bitrate to the sampling rate. Use one of the following values: Value Description MPEGLAYER3_FLAG_PADDING_ISO Insert padding as needed to achieve the stated average bitrate. MPEGLAYER3_FLAG_PADDING_ON Always insert padding. The average bit rate may be higher than stated. MPEGLAYER3_FLAG_PADDING_OFF Never insert padding. The average bit rate may be lower than stated. nBlockSize Block size in bytes. This value equals the frame length in bytes x nFramesPerBlock. For MP3 audio, the frame length is calculated as follows: 144 x (bitrate / sample rate) + padding. nFramesPerBlock Number of audio frames per block. nCodecDelay Encoder delay in samples. If you do not know this value, set this structure member to zero. Remarks If you are using an audio compression manager (ACM) codec, you can use the acmFormatEnum function to fill in this structure.
MPEGLAYER3WAVEFORMAT Structure
最新推荐文章于 2020-05-22 03:31:28 发布
本文详细介绍了MPEGLAYER3WAVEFORMAT结构,该结构用于描述MPEG Audio Layer-3 (MP3) 音频格式的各项参数,包括基本音频格式、标识、标志位等,并解释了如何使用音频压缩管理器(ACM)填充此结构。
部署运行你感兴趣的模型镜像
您可能感兴趣的与本文相关的镜像
Anything-LLM
AI应用
AnythingLLM是一个全栈应用程序,可以使用商用或开源的LLM/嵌入器/语义向量数据库模型,帮助用户在本地或云端搭建个性化的聊天机器人系统,且无需复杂设置
559

被折叠的 条评论
为什么被折叠?



