protected int read(SpeechRecord recorder,byte[] buffer){
  int len=buffer.length;
  int numOfBytes=recorder.read(buffer,0,len);
  int status=getStatus(numOfBytes,len);
  if (status == 0) {
    System.arraycopy(buffer,0,mRecording,mRecordedLength,numOfBytes);
    mRecordedLength+=len;
  }
  return status;
}

protected int read ( SpeechRecord recorder , byte [ ] buffer ) { int len = buffer . length ; int numOfBytes = recorder . read ( buffer , 0 , len ) ; int status = getStatus ( numOfBytes , len ) ; if ( status == 0 ) { System . arraycopy ( buffer , 0 , mRecording , mRecordedLength , numOfBytes ) ; mRecordedLength += len ; } return status ; }
copy data from the given recorder into the given buffer , and append to the complete recording . public int read ( byte [ ] audiodata , int offsetinbytes , int sizeinbytes )
