Miles Sound System SDK 7.2a

EAX_SAMPLE_SLOT_VOLUME

The structure EAX_SAMPLE_SLOT_VOLUME used to control the sound levels for a slot that the sample should play to

struct EAX_SAMPLE_SLOT_VOLUME
{
  S32 Slot;
  S32 Send;
  S32 SendHF;
  S32 Occlusion;
  F32 OcclusionLFRatio;
  F32 OcclusionRoomRatio;
  F32 OcclusionDirectRatio;
};

In Members

Slot
specifies the slot for this volume control. EAX 4 currently supports 4 slots (so 0, 1, 2 or 3).
Send
specifies the volume of this sample for this slot in standard EAX attenuation units (-10000 to 0 fixed point millibels, default 0.0).
SendHF
specifies additional attenuation for this slot for high frequencies in standard EAX attenuation units (-10000 to 0 fixed point millibels, default 0.0).
Occlusion
specifies the occlusion level of this sample for this slot in standard EAX attenuation units (-10000 to 0 fixed point millibels, default 0.0).
OcclusionLFRatio
specifies the occlusion attenuation at low frequencies relative to high frequencies (0.0 to 1.0, default 0.25).
OcclusionRoomRatio
specifies the occlusion attenuation for the reflected (wet) sound path (0.0 to 10.0, default 1.5).
OcclusionDirectRatio
specifies the occlusion attenuation for the direct (dry) sound path (0.0 to 10.0, default 1.0).

Discussion

In EAX 4, you can only send a particular sound sample to two slots at once.


Group: Creative EAX 2, 3, and 4 Providers
Related Basic Types: F32, S32
Related Structures: EAX_SAMPLE_SLOT_VOLUMES

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.