Searched refs:SAMPLE_SIZE (Results 1 - 3 of 3) sorted by relevance
/external/qemu/android/ |
H A D | audio-test.c | 20 #define SAMPLE_SIZE 16384 macro 26 short sample[SAMPLE_SIZE]; 37 int avail = SAMPLE_SIZE - ta->pos; 43 if (ta->pos >= SAMPLE_SIZE) 78 for (nn = 0; nn < SAMPLE_SIZE; nn++) { 79 ta->sample[nn] = (short)(((nn % (SAMPLE_SIZE/4))*65536/(SAMPLE_SIZE/4)) & 0xffff);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/util/ |
H A D | ASN1Dump.java | 41 private static final int SAMPLE_SIZE = 32; field in class:ASN1Dump 363 for (int i = 0; i < bytes.length; i += SAMPLE_SIZE) 365 if (bytes.length - i > SAMPLE_SIZE) 368 buf.append(new String(Hex.encode(bytes, i, SAMPLE_SIZE))); 370 buf.append(calculateAscString(bytes, i, SAMPLE_SIZE)); 377 for (int j = bytes.length - i; j != SAMPLE_SIZE; j++)
|
/external/srec/srec/Recognizer/src/ |
H A D | RecognizerImpl.c | 47 #define SAMPLE_SIZE (16 / CHAR_BIT) /* 16-bits / sample */ macro 756 impl->FRAME_SIZE = impl->sampleRate / FRAMERATE * SAMPLE_SIZE; 1048 rc = SR_EventLogAudioOpen(impl->eventLog, L("audio/L16"), impl->sampleRate, SAMPLE_SIZE); 1233 CHKLOG(rc, SR_EventLogTokenInt(impl->eventLog, L("CircularBufferGetSize() (samples)"), n / SAMPLE_SIZE)); 1754 rcBufWrite = CircularBufferWrite(impl->buffer, buffer, *bufferSize * SAMPLE_SIZE); 1763 if (nbWritten % SAMPLE_SIZE != 0) 1768 amountUnwritten = CircularBufferUnwrite(impl->buffer, nbWritten % SAMPLE_SIZE); 1769 passert(amountUnwritten == nbWritten % SAMPLE_SIZE); 1774 if (nbWritten < *bufferSize * SAMPLE_SIZE) 1780 *bufferSize = nbWritten / SAMPLE_SIZE; [all...] |
Completed in 1424 milliseconds