摘要 |
The respective occupancies of a set of audio buffers are controlled via a common target occupancy value common to all the buffers in the set. This common target may take non-integral values. For each buffer, the difference is taken between the occupancy value of the buffer and the common target occupancy value. A sample is dropped or repeated as the difference exceeds half a sample. A recursive sum is formed of the fractional parts of the difference measures from the set of buffers and the recursive sum is used to adjust the common target occupancy value, within a selected range of values. |