Example of how to hold the buffer | Play position value |
|---|---|
When there are two 4K sample buffers | 0,1,0,1,0,1 ... |
With 4K sample buffers on 3 sides | 0,1,2,0,1,2,0, 1,2... |
When 4K sample buffer has 16 sides | 0,1,2,3 ---- 12,13 ,14,15,0,1,2,3... |
The main system should monitor this playback position and transfer the next waveform data. Since the PCM stream buffer can capture up to 64K samples, it can be selected from a minimum of 2 to a maximum of 16 planes.
It is also possible to generate an interrupt to the main system when the playback position is updated, so use this if necessary. Since there is control information for this interrupt in the system interface work, refer to “Chapter 5 System Area 5.1.3 System Interface Work” for the setting contents.
However, the number of bytes above is the amount of data at 44.1KHz. For example, if half of 22KHz is sufficient, the amount of data is half that. Therefore, the transfer load is also halved. Conversely, when stereo playback or multiple channels are played back simultaneously, the load increases accordingly.