共用方式為


IDirectSoundFXDistortion8

[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 IDirectSoundFXDistortion8 interface is used to set and retrieve effect parameters on a buffer that supports distortion.

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

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

IDirectSoundFXDistortion8 Members

Method Description
IDirectSoundFXDistortion8::GetAllParameters The GetAllParameters method retrieves the distortion parameters of a buffer.
IDirectSoundFXDistortion8::SetAllParameters The SetAllParameters method sets the distortion parameters of a buffer.

Requirements

Header: Declared in DSound.h.

Library: Use Dsound3d.dll.

See Also

DirectSound Interfaces