Sound Function - Sound Module Control Function

sdPstmGetTotalSmpFrame

Gets total PCM Stream play sample frames

FORMAT

SDE_ERR sdPstmGetTotalSmpFrame( handle, ch_num, *total_smp_frame )
SDPSTM handle
Sint8 ch_num
Uint32 *total_smp_frame

PARAMETER

 handle  Object handle 
 ch_num  Channel number for which to get current playing address 
 total_smp_frame  Pointer to storage for obtained total playing sample frame number 

RETURN

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

DESCRIPTION

Gets the total sample frames playing on the PCM Stream.

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