public void OnData() { //TODO: copy to LocalVoiceFramed.PushDataBufferPool element instead var buf = AndroidJNI.FromShortArray(javaBuf); cntFrame++; cntShort += buf.Length; this.callback(buf); }