Searched refs:SAMPLES_PER_FRAME (Results 1 – 2 of 2) sorted by relevance
36 private final static int SAMPLES_PER_FRAME = 8000 * 20 / 1000; field in AmrInputStream45 private final byte[] mBuf = new byte[SAMPLES_PER_FRAME * 2];84 for (int i = 0; i < SAMPLES_PER_FRAME * 2; ) { in read()85 int n = mInputStream.read(mBuf, i, SAMPLES_PER_FRAME * 2 - i); in read()
34 static const int SAMPLES_PER_FRAME = ((SAMPLING_RATE_HZ * FRAME_DURATION_MS) / 1000); variable36 static const int BYTES_PER_FRAME = (SAMPLES_PER_FRAME * BYTES_PER_SAMPLE);