Sound Function - Sound Module Control Function

sdPstmOpenPort

Gets PCM Stream port access permission

FORMAT

SDE_ERR sdPstmOpenPort( *handle, ch_num, use_ring_buf_num, ... )
SDPSTM *handle
Sint8 ch_num
Sint8 use_ring_buf_num

PARAMETER

 handle  Pointer to storage for obtained port number 
 ch_num  Channel number to use 
 use_ring_buf_num  Ring buffer number to use 

RETURN

 SDE_ERR_NO_INIT  The Sound Library has not been initialized 
 SDE_ERR_HANDLE_NULL  The handle is NULL 
 SDE_ERR_PRM_OVER_RANGE  Parameter out of range  

DESCRIPTION

Gets PCM Stream port access permission. Specify the required ring buffer number as a variable-length parameter.

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