Sound Function - Sound Module Control Function

sdPstmTransferWaveData

Transfers a waveform to a PCM Stream port

FORMAT

SDE_ERR sdPstmTrasferWaveData( handle, ch_num, memblk_handle )
SDPSTM handle
Sint8 ch_num
SDMEMBLK memblk_handle

PARAMETER

 handle  Object handle 
 ch_num  Object channel 
 memblk_handle  Memory Block handle 

RETURN

 SDE_ERR_HOST_CMD_BUF_NO_ENOUGH  No more host commands can be accepted 
 SDE_ERR_NO_INIT  The Sound Library has not been initialized 
 SDE_ERR_HANDLE_NULL  The handle is NULL 

DESCRIPTION

Transfers a waveform to a PCM Stream port.

NOTE

Check if it is okay to transfer waveforms before actually transferring. Execute the sdPstmlsTransferWaveData() function to see if it possible to transfer the waveform. If PCM Stream play has not been started, a size larger than 7000H cannot be specified.

REFERENCE

sdPstmIsTransferWaveData()

sdPstmTransferWaveData
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999