Exemplo n.º 1
0
 private void addBytesToTrackSequential(int addr, int length) {
   if (length > 0) {
     mem.memcpy(bufBytes.bufferAddr + bufBytes.writeOffset, addr, length);
     bufBytes.writeOffset += length;
     bufBytes.sizeAvailableForRead += length;
   }
 }
Exemplo n.º 2
0
 public void addSamplesToTrack(int samples) {
   bufSamples.sizeAvailableForRead += samples;
   currentSample += samples;
 }