IltmfConvert::get_AudioCompressors

#include "ltmf.h"

Platform Syntax
C HRESULT IltmfConvert_get_AudioCompressors(pConvert, pVal)
C++ HRESULT get_AudioCompressors(pVal)

Retrieves the audio compressor collection object.

Parameters

IltmfConvert *pConvert

Pointer to an IltmfConvert interface.

IltmfCompressors **pVal

Pointer to a variable to be updated with an IltmfCompressors (audio compressor collection interface) pointer. The IltmfCompressors interface referenced by this pointer contains information on the available audio compressors.

Returns

Value Meaning
S_OK The function was successful.
<> S_OK An error occurred. Refer to the Error Codes or the HRESULT error codes in the MediaFoundation documentation.

Comments

The returned IltmfCompressors interface is used to enumerate registered audio compressors, and to select an audio compressor for the conversion process. See IltmfCompressors for details.

If the function succeeds, the user should release the returned interface pointer by calling the interfaces Release method.

Compressor

Also known as an encoder , this is a module or algorithm to compress data. Playing that data back requires a decompressor, or decoder .

Encoder

Also known as compressor, this is a module or algorithm to compress data. Playing that data back requires a decompressor, or decoder .

Decoder

Also known as a decompressor, this is a module or algorithm to decompress data.

Required DLLs and Libraries

Platforms

Win32.

See Also

Functions

Topics

Example

For a C++ example, refer to Recompressing an MP4 File for C++.

Help Version 22.0.2022.4.6
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Media Foundation C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.