Japanese
PROGRAMMER'S GUIDEStream system library
BackForward
stream system library


Table 7.1 shows a list of stream system functions.
[C] is a function that issues commands to the CD block. For issuing these functions, please follow the command issuing regulations of the CD communication interface.

Table 7.1 Function list (1)
 function
 function name
 number
 Initialization
 1.0
 Stream system initialization
 STM_Init [-]
 1.1
 Resetting the stream system
 STM_Reset [C]
 1.2
stream group
 2.0
 Opening a stream group
 STM_OpenGrp [-]
 2.1
 Closing a stream group
 STM_CloseGrp [C]
 2.2
 Get the number of streams
 STM_GetStmNum [-]
 2.3
 Get stream handle
 STM_GetStmHndl [-]
 2.4
 Registering buffer size monitoring function
 STM_SetCdbufFunc [-]
 2.5
stream
 3.0
 Opening a stream by file identifier
 STM_OpenFid [C]
 3.1
 Opening a stream by playback range
 STM_OpenFrange [C]
 3.2
 Opening a resident stream
 STM_OpenResi [C]
 3.3
 Closing the stream
 STM_Close [C]
 3.4
 Stream key settings
 STM_SetKey [C]
 3.5
 Get stream information
 STM_GetInfo [C]
 3.6
 Conversion from number of sectors to number of words
 STM_SctToWord [C]
 3.7
 Conversion from number of words to number of sectors
 STM_WordToSct [C]
 3.8
 Stream handle alias settings
 STM_SetAlias [-]
 3.9
 Unaliasing a stream handle
 STM_UnsetAlias [-]
 3.10
 Transfer settings
4.0
 Transfer area settings
 STM_SetTrBuf [-]
 4.1
 Registering a transfer function
 STM_SetTrFunc [-]
 4.2
 Transfer start in transfer function
 STM_StartTrans [C]
 4.3
 Opening/closing the transfer gate
 STM_SetTrGate [-]
 4.4
 Setting the maximum number of transferred sectors
 STM_SetTrPara [-]
 4.5
 Transfer start FAD settings
 STM_SetTrFad [C]
 4.6
 Transfer mode settings
 STM_SetTrMode [-]
 4.7
 Transfer area reset
 STM_ResetTrBuf [-]
 4.8
 Get loading information
 5.0
 Obtaining the number of sectors in the CD buffer partition
 STM_GetNumCdbuf [C]
 5.1
 Obtain read sector information
 STM_GetSctInfo [C]
 5.2
Transfer information acquisition
 6.0
 Obtaining the number of data in the transfer area
 STM_GetLenTrBuf [-]
 6.1
 Transfer area full check
 STM_IsTrBufFull [-]
 6.2
 Checks during transfer
 STM_IsTrans [-]
 6.3
 Stream server execution
 7.0
 Specifying server execution group (immediate return)
 STM_NwSetExecGrp [C]
 7.1
 Specifying server execution group (completion return)
 STM_SetExecGrp [C]
 7.2
 Running the server
 STM_ExecServer [C]
 7.3
 Setting the playback position
 STM_MovePickup [C]
 7.4
 Specifying loop start stream
 STM_SetLoop [-]
 7.5
 Get loop counter
 STM_GetLoopCnt [-]
 7.6
 Get execution status
 STM_GetExecStat [C]
 7.7
 Check for end of stream access
 STM_IsComplete [C]
 7.8
 Stream data transfer
 STM_ExecTrans [C]
 7.9
 CD block operations
 8.0
 Connection of aperture and CD buffer compartment
 STM_ConnectCdbuf [C]
 8.1
 Moving CD buffer partition data
 STM_MoveCdbuf [C]
 8.2
 Clearing CD buffer partition data
 STM_EraseCdbuf [C]
 8.3
error handling
 9.0
 Registering an error function
 STM_SetErrFunc [-]
 9.1
 Get error status
 STM_GetErrStat [-]
 9.2
 Read error recovery
 STM_Recover [C]
 9.3


BackForward
PROGRAMMER'S GUIDE