Return to previous page Return to menu Go to next page

  Title  
Function specifications
  Function  
Set PCM stream playback number
  Function Name  
PCM_SetPcmStreamNo
No
4.6

  format  void PCM_SetPcmStreamNo (PcmHn pcm, Sint32 stream_no)
 Input  pcm: Handle
:  stream_no: PCM stream playback number (0-7)
 Output  None
 Function value  None
 Function  Sets the PCM stream playback number set in the sound driver.
 Default  is 1.
 Remarks  For details on PCM stream playback numbers, see “SATURN SOUND DRIVER built-in sound”
Refer to  Manual  Manual.
.  When performing multi playback, set different stream playback numbers. This function is
 Call  before starting playback. 

  Title  
Function specifications
  Function  
Set work for pause processing
  Function Name  
PCM_SetPauseWork
No
4.7

  format  void PCM_SetPauseWork (Sint32 * addr, Sint32 size)
 Input  addr: Work address
  size: Work size
 Output  None
 Function value  None
 Function  Sets the work area used for pause / on processing.
 Remarks  When using the pause function, use the PCM_SetPauseWork in advance for the pause processing word.
  must be specified. This work need not be prepared for each handle.
 N .
:  This work is a work area that is temporarily used in the pause-on process.
: -You may reserve the area immediately before the on process and release the area immediately after. 

Processing example #defile PAUSE_WORK_SIZE (4096L * 2)

: pause_work_addr = malloc (PAUSE_WORK_SIZE); PCM_SetPauseWork (pause_work_addr, PAUSE_WORK_SIZE); PCM_Pause (pcm, PCM_PAUSE_ON_AT_ONCE); free (pause_work_addr);


Return to previous page Return to menu Go to next page