Lines Matching defs:id
375 protected long id;
500 id = nOpen(mixerIndex, deviceID, isSource,
511 if (id == 0) {
517 this.bufferSize = nGetBufferSize(id, isSource);
552 nStart(id, isSource);
586 nStop(id, isSource);
618 long oldID = id;
619 id = 0;
631 if (id == 0) {
636 a = nAvailable(id, isSource);
652 if ((id == 0) || (!doIO) || !nIsStillDraining(id, isSource))
678 if (doIO && id != 0) {
685 if (id != 0) {
692 if (id != 0) {
694 nFlush(id, isSource);
705 pos = nGetBytePosition(id, isSource, bytePosition);
753 thisWritten = nWrite(id, b, off, len,
785 return nRequiresServicing(id, isSource);
793 && id != 0
796 nService(id, isSource);
982 thisRead = nRead(id, b, off, len, softwareConversionSize);
1219 nSetBytePosition(id, isSource, frames * frameSize);
1473 private static native void nStart(long id, boolean isSource);
1474 private static native void nStop(long id, boolean isSource);
1475 private static native void nClose(long id, boolean isSource);
1476 private static native int nWrite(long id, byte[] b, int off, int len, int conversionSize,
1478 private static native int nRead(long id, byte[] b, int off, int len, int conversionSize);
1479 private static native int nGetBufferSize(long id, boolean isSource);
1480 private static native boolean nIsStillDraining(long id, boolean isSource);
1481 private static native void nFlush(long id, boolean isSource);
1482 private static native int nAvailable(long id, boolean isSource);
1484 private static native long nGetBytePosition(long id, boolean isSource, long javaPos);
1485 private static native void nSetBytePosition(long id, boolean isSource, long pos);
1488 private static native boolean nRequiresServicing(long id, boolean isSource);
1490 private static native void nService(long id, boolean isSource);