Partager via


Windows Media Audio Voice Encoder

The Windows Media Audio Voice encoder is optimized for encoding the human voice at high compression ratios. This is the preferred encoder for streams consisting mostly of spoken words.

Class Identifier

The class identifier (CLSID) for the Windows Media Audio Voice encoder is represented by the constant CLSID_CWMSPEncMediaObject2. You can create an instance of the voice encoder by calling CoCreateInstance.

Output Formats

Windows Media Audio Voice encoded content is identified by the format tag 0x00A.

Encoder Properties

The Windows Media Audio Voice encoder supports the following properties.

Property Description
MFPKEY_WMAVOICE_ENC_BufferWindow

Specifies the buffer window, in milliseconds, used for the voice codec.

Windows XP and later. Write-only.
MFPKEY_WMAVOICE_ENC_DecoderDelay

Specifies encoder latency in packet units.

Windows XP and later. Write-only.
MFPKEY_WMAVOICE_ENC_EDL

Specifies the portions of content to be encoded as music by the voice codec.

Windows XP and later. Read/write.
MFPKEY_WMAVOICE_ENC_MusicSpeechClassMode

Specifies the mode of the voice codec.

Windows XP and later. Read/write.

 

Requirements

Client

Windows XP, Windows Vista, or Windows 7

Header

Wmcodecdsp.h

DLL

Wmspdmoe.dll

See Also

Codec Objects

Using the Windows Media Audio Voice Codec

 

 

Send comments about this topic to Microsoft

Build date: 4/7/2010