Return to previous page Return to menu Go to next page

  Title  
Function specifications
  Function  
Set data transfer method
(CD block → Ring buffer)
  Function Name  
PCM_SetTrModeCd
No
4.8

  format  void PCM_SetTrModeCd (PcmHn pcm, PcmTrMode mode)
 Input  pcm: Handle
:  mode: Data transfer method
 Output  None
 Function value  None
 Function  Sets the data transfer method from the CD block to the ring buffer.
:  The default is CPU DMA.
:  Program transfer, CPU DMA, or SCU DMA can be specified.
 Caution  PCM_SetTrModeCd is called after the handle is created and before the first task function is called
 Please . 

  Title  
Function specifications
  Function  
Set Playback Information
  Function Name  
PCM_SetInfo
No
4.9

  format  void PCM_SetInfo (PcmHn pcm, PcmInfo * info)
 Input  pcm: Handle
 info  info: Playback information
 Output  None
 Function value  None
 Function  Set information for PCM playback.
 Remarks  Normally, this function is not used because information for playback is obtained from the file header. Current status
  is only required for CD-ROM XA Audio playback.
 Usage example  For CD-ROM XA Audio playback, set the playback information as follows. 

PBInfo info;

: PCM_INFO_FILE_TYPE (& info) = PCM_FILE_TYPE_NO_HEADER; / * No header * / : PCM_INFO_DATA_TYPE (& info) = PCM_DATA_TYPE_ADPCM_SCT; / * XA Audio sector processing * / PCM_SetInfo (pcm, & info);

Note Call PCM_SetInfo before creating the handle and before calling the task function for the first time. Now,


Return to previous page Return to menu Go to next page