Title | Data | Data Name | No |
typedef void *PcmHn;
Title | Data | Data Name | No |
typedef struct {
PcmWork * work; / * Work start address * /
/ * Work area when this library is played back * /
Sint32 * ring_addr; / * Ring buffer address * /
/ * When playing back data in memory, its address * /
Sint32 ring_size; / * Ring buffer size [byte] * /
/ * File size to play memory data * /
Sint32 * pcm_addr; / * PCM buffer address of the sound memory * /
Sint32 pcm_size; / * PCM buffer size of sound memory [sample / 1ch] * /
} PcmCreatePara;
Note on PCM buffer
Playback conditions | PCM buffer size (bytes) |
|---|---|
8bit monaural | S [byte] |
8bit stereo | 2 × S [byte] |
16bit monaural | 2 × S [byte] |
16bit stereo | 4 × S [byte] |