Esempio n. 1
0
  public byte[] read() {

    TrustedNode.Record(buf, LENGTH);
    b = new byte[LENGTH * 4];
    for (int i = 0; i < buf.length; i++) {
      b[i * 4] = (byte) (buf[i] >>> 24);
      b[i * 4 + 1] = (byte) ((buf[i] >>> 16) & 0x000000ff);
      b[i * 4 + 2] = (byte) ((buf[i] >>> 8) & 0x000000ff);
      b[i * 4 + 3] = (byte) ((buf[i]) & 0x000000ff);
    }
    return b;
  }
Esempio n. 2
0
 public void stop() {
   // tdl.stop();
   TrustedNode.AudioEnd();
 }