Return to previous page Return to menu Go to next page

 Title 
Function specifications
 Data 
Write size notification
 Data Name
CPK_NotifyWriteBuf
No
6.2

  Format  void CPK_NotifyWriteSize (CpkHn cpk, Sint32 write_size)
 Input  cpk: Movie handle
  write_size: Number of bytes written
 Output  None
 Function value  None
 Function  Notifies the library of the number of bytes actually written to the buffer.
 Remarks  Used when you want to supply data to the ring buffer independently.
  Used when playing a movie file in memory. 
 Title 
Function specifications
 Data 
Load movie into buffer
 Data Name
CPK_PreloadMovie
No
7.1

  Format  void CPK_PreloadMovie (CpkHn cpk, Uint32 size)
 Input  cpk: Movie handle
  size: number of bytes to read
 Output  None
 Function value  None
 Function  Loads movie file into memory.
 Remarks  If the number of bytes read is smaller than the buffer managed by the library,
  Reads up to the buffer size. 
 Title 
Function specifications
 Data 
Read film header into buffer
Data Name
CPK_PreloadHeader
No
7.2

  Format  void CPK_PreloadHeader (CpkHn cpk)
 Input  cpk: Movie handle
 Output  None
 Function value  None
 Function  Reads the film header of the movie file into memory.
 Remarks  Move the pickup position to the beginning of the movie file before calling this function
Please  . 


Return to previous page Return to menu Go to next page