Title Function specifications | Function Get playback time | Function Name PCM_GetTime | No 5.1 |
format Sint32 PCM_GetTime (PcmHn pcm)
Input pcm: Handle
Output None
Function value Current time
Function Acquires the current time.
(Number of samples played from the beginning of this file to the present)
Title Function specifications | Function Get playback status | Function Name PCM_GetPlayStatus | No 5.2 |
format PcmPlayStatus PCM_GetPlayStatus (PcmHn pcm)
Input pcm: Handle
Output None
Function value Playback status
Function Returns the current playback status.
Title Function specifications | Function Get Write Buffer | Function Name PCM_GetWriteBuf | No 6.1 |
format Uint32 * PCM_GetWriteBuf (PcmHn pcm, Sint32 * free_size, Sint32 * free_total)
Input pcm: Handle
Output free_size: Number of bytes in the continuous writable area
: free_total: Total number of writable areas including discontinuous areas
Function value Start address of continuously writable area (NULL if not writable)
Function Gets the buffer address of the write destination and the number of bytes that can be written.
Remarks Use this when you want to supply data to the ring buffer independently.
Title Function specifications | Function Notify write size | Function Name PCM_NotifyWriteBuf | No 6.2 |
format void PCM_NotifyWriteSize (PcmHn pcm, Sint32 write_size)
Input pcm: Handle
write_size: Number of bytes written
Output None
Function value None
Function Notifies the library of the number of bytes of data actually supplied to the ring buffer.
Remarks Use this when you want to supply data to the ring buffer independently.
: When playing a file in memory, notify the buffer size (file size).
.
Return to previous page | Return to menu | Go to next page