SB AWE32 Developer's Information Pack
PART III Windows Driver API
••
48
Copyright
Creative Technology Ltd., 1994-1996
Version 3.00
If the Type Index is pointing to 'Reverb & Chorus', then m_VariIndex[0]
should contain the Vari-Index of 'Reverb' and m_VariIndex[1] should have
index of 'Chorus'.
lParam2
Unused.
hUserID
Current ID assigned to the application by the AWE Manager during
initialization.
Remarks
None.
Return
The return value would be AWE_NO_ERR if the operation is successful, and
an error code otherwise. Possible errors are:
AWE_ERR_USERID_INVALID
AWE_ERR_DEVICE_BUSY
AWE_ERR_EFXT_CHANGE_NOT_ALLOWED
AWE_ERR_EFXT_INVALID
AWE_ERR_EFXV_INVALID
See Also
AWE_SELECT_EFX_EX, AWE_QUERY_EFXT_SUPPORT,
AWE_QUERY_EFXV_SUPPORT, AWE_GET_EFX
AWE_SELECT_EFX_EX
Actions
An application sends this message to inform the AWE Manager of the Effect
Types and Variations that it wishes to use. This is an extended version and
should try to aviod using AWE_SELECT_EFX as far as possible.
Parameters
lParam1
Specify a far pointer to CParamObject, LPPARAMOBJECT. The application
should fill the following fields with appropriate values:
Member
Remarks
m_TypeIndex
The effect types index.
m_VariIndex[..]
The type variations index.
The m_VariIndex[..] is an array type. 'Reverb & Chorus', only 0 and 1 are
supported respectively. The 'Reverb and Chorus' has four sets of variations
('Reverb', 'Chorus', ‘Treble’ and ‘Bass’) and is the largest. This might
change in future. To access them, simply index the m_VariIndex[..] with the
appropriate numbers e.g. m_VariIndex[0] for Reverb and m_VariIndex[1]
for Chorus, etc. For unused indices, e.g. m_VariIndex[5], m_VariIndex[6],
it must be zeroed out. If the Effect Types specified by m_TypeIndex does not
have variations, the m_VariIndex[..] must be set to zero.
String
Type
Sub-Index
"Reverb & Chorus"
0
0 - Reverb
1 - Chorus
2 - Bass