Поделиться через


IDirectSoundFXCompressor8

[The feature associated with this page, DirectSound, is a legacy feature. It has been superseded by WASAPI and Audio Graphs. Media Casting have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Media Casting instead of DirectSound, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IDirectSoundFXCompressor8 interface is used to set and retrieve effect parameters on a buffer that supports compression.

This interface is obtained by calling GetObjectInPath on the buffer that supports the effect.

In addition to the methods inherited from IUnknown, the IDirectSoundFXCompressor8 interface exposes the following methods.

IDirectSoundFXCompressor8 Members

Method Description
IDirectSoundFXCompressor8::GetAllParameters The GetAllParameters method retrieves the compression parameters of a buffer.
IDirectSoundFXCompressor8::SetAllParameters The SetAllParameters method sets the compression parameters of a buffer.

Requirements

Header: Declared in DSound.h.

Library: Use Dsound3d.dll.

See Also

DirectSound Interfaces