[Openal] EFX Filter Defaults
Daniel PEACOCK
dpeacock at creativelabs.com
Wed Jun 7 08:37:41 PDT 2006
Hi Colin,
In EFX, Filters can be added to the direct (dry) path of a Source and / or
the send (wet) path(s). There is no automatic way to add the same filter
to both the direct path and one (or more) of the Auxiliary Send paths. You
therefore need to make the explicit calls to set this up. e.g.
A Filter can be added to the dry path using :-
alSourcei(uiSourceID, AL_DIRECT_FILTER, uiFilterID)
where : uiFilterID is the name of a Filter object
The same Filter, or a different one, can be added to a particular Auxiliary
Send using :-
alSource3i(uiSourceID, AL_AUXILIARY_SEND_FILTER, uiAuxEffectSlotID,
iSendNum, uiFilterID)
where : uiAuxEffectSlotID is the name of a Auxiliary Effect Slot object
iSendNum is the index of the Source's Send to use
uiFilterID is the name of a Filter object
NOTE : The number of Auxiliary Sends available on each Source is platform
dependent, but can be retrieved using the following call : -
alcGetIntegerv(pDevice, ALC_MAX_AUXILIARY_SENDS, 1, &iNumSends)
where : pDevice is the ALCDevice opened
iNumSends gets the number of Auxiliary Sends available per Source
Dan
Notice
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution of the message, or
any action taken by you in reliance on it, is prohibited and may be
unlawful. If you have received this message in error, please delete it
and contact the sender immediately. Thank you.
Colin Walder
<cwalder at frd.co.u
k> To
Sent by: openal at opensource.creative.com
openal-bounces at op cc
ensource.creative
.com Subject
[Openal] EFX Filter Defaults
06/07/2006 07:57
AM
Hey guys,
Does anyone know if there's a way to set openal to have as a default that
direct filters are applied to sends. I can get round it manually but would
be a bit cleaner if i could just tell openal to do it...maybe a post-fader
send option which uses the filtered sound? Or does the
AL_EFFECTSLOT_AUXILIARY_SEND_AUTO do this anyhow?
Cheers,
Col
_______________________________________________
Openal mailing list
Openal at opensource.creative.com
http://opensource.creative.com/mailman/listinfo/openal
ForwardSourceID:NT0003291E
More information about the Openal
mailing list