// ksmedia.h
typedef struct {
DS3DVECTOR Position;
DS3DVECTOR Velocity;
ULONG InsideConeAngle;
ULONG OutsideConeAngle;
DS3DVECTOR ConeOrientation;
LONG ConeOutsideVolume;
FLOAT MinDistance;
FLOAT MaxDistance;
ULONG Mode;
} KSDS3D_BUFFER_ALL, *PKSDS3D_BUFFER_ALL;
View the official Windows Driver Kit DDI referenceNo description available.
The KSDS3D_BUFFER_ALL structure specifies all the 3D characteristics of a DirectSound 3D buffer.
PositionSpecifies the x, y, and z position coordinates of the 3D sound buffer. This member is a structure of type DS3DVECTOR.
VelocitySpecifies the x, y, and z velocity components of the 3D sound buffer. This member is a structure of type DS3DVECTOR.
InsideConeAngleSpecifies the angle in degrees of the inside sound projection cone.
OutsideConeAngleSpecifies the angle in degrees of the outside sound projection cone.
ConeOrientationSpecifies the x, y, and z components of the orientation of the 3D buffer's sound projection cone. This member is a structure of type DS3DVECTOR.
ConeOutsideVolumeSpecifies the cone outside volume.
MinDistanceSpecifies the minimum distance between the speaker and listener. (See the discussion of minimum and maximum distances for DirectSound 3D buffers in the Microsoft Windows SDK documentation.)
MaxDistanceSpecifies the maximum distance between the speaker and listener.
ModeSpecifies the 3D sound-processing mode. This can be one of the following values from the header file Dsound.h:
For the meaning of these parameters, see the description of the dwMode member of the DS3DBUFFER structure in the Microsoft Windows SDK documentation.
This structure is used to set or get the data value for the KSPROPERTY_DIRECTSOUND3DBUFFER_ALL property. DirectSound uses this property to implement the IDirectSound3DBuffer::GetAllParameters and IDirectSound3DBuffer::SetAllParameters methods, which are described in the Windows SDK documentation.
The members of this structure are similar to those defined for the DS3DBUFFER structure in the Windows SDK documentation.
KSPROPERTY_DIRECTSOUND3DBUFFER_ALL