SB AWE32 Developer's Information Pack
PART III Windows Driver API
••
66
Copyright
Creative Technology Ltd., 1994-1996
Version 3.00
Unused.
Remarks
Samples are streamed in a series of of CViSmplObjects. For stereo wave
file, left and right samples are seperately streamed. It is equivalent to
streaming 2 mono wave files. The AWE_VIENNA_PLAY_SAMPLE can be
called to play either the left or right sample. A true stereo sound can only be
achieved by building a SoundFont2 object using the
AWE_VIENNA_LOAD_PRESET, with left and right sample pan to left and
right respectively.
Return
The return value would be AWE_NO_ERR if the operation is successful, and
an error code otherwise. Possible error is:
AWE_ERR_USERID_INVALID
AWE_ERR_INVALID_SAMPLE
AWE_ERR_OUT_OF_GCHANNEL
See Also
AWE_VIENNA_FREE_SAMPLE,
AWE_VIENNA_PLAY_SAMPLE,
AWE_VIENNA_LOAD_PRESET
AWE_VIENNA_FREE_SAMPLE
Actions
Application sends this message to AWE Manager when it want to release the
sample which was loaded using AWE_VIENNA_LOAD_SAMPLE
Parameters
lParam1
dwSampleHandle.
lParam2
Unused.
hUserID
Curerent ID assigned to the application by 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 error is:
AWE_ERR_USERID_INVALID
AWE_ERR_INVALID_SAMPLE
See Also
AWE_VIENNA_LOAD_SAMPLE
AWE_VIENNA_PLAY_SAMPLE
Actions
Application sends this message to AWE Manager when it want to play/stop
sample which was loaded using AWE_VIENNA_LOAD_SAMPLE.