Searched refs:samplesRead (Results 1 – 8 of 8) sorted by relevance
/external/sonic/ |
D | main.c | 31 int samplesRead, samplesWritten; in runSonic() local 40 samplesRead = readFromWaveFile(inFile, inBuffer, BUFFER_SIZE/numChannels); in runSonic() 41 if(samplesRead == 0) { in runSonic() 44 sonicWriteShortToStream(stream, inBuffer, samplesRead); in runSonic() 53 } while(samplesRead > 0); in runSonic()
|
D | wave.c | 330 int i, bytesRead, samplesRead; in readFromWaveFile() local 339 samplesRead = bytesRead/(file->numChannels*2); in readFromWaveFile() 340 for(i = 0; i < samplesRead*file->numChannels; i++) { in readFromWaveFile() 345 return samplesRead; in readFromWaveFile()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/ |
D | Mp3Extractor.java | 144 private long samplesRead; field in Mp3Extractor 200 samplesRead = 0; in seek() 220 long durationUs = computeTimeUs(samplesRead); in read() 303 computeTimeUs(samplesRead + synchronizedHeader.samplesPerFrame), in readSample() 320 computeTimeUs(samplesRead), C.BUFFER_FLAG_KEY_FRAME, synchronizedHeader.frameSize, 0, null); in readSample() 321 samplesRead += synchronizedHeader.samplesPerFrame; in readSample() 326 private long computeTimeUs(long samplesRead) { in computeTimeUs() argument 327 return basisTimeUs + samplesRead * C.MICROS_PER_SECOND / synchronizedHeader.sampleRate; in computeTimeUs()
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | NativeAudioThread.java | 273 int samplesRead = nativeProcessNext(nativeHandle, mSamples, offset); in run() local 274 totalSamplesRead += samplesRead; in run() 275 offset += samplesRead; in run() 276 log(" [" + ii + "] jni samples read:" + samplesRead + in run()
|
D | LoopbackAudioThread.java | 187 int samplesRead = mLatencyTestPipe.read(audioShortArrayOut, 0, in run() local 189 mAudioTrack.write(audioShortArrayOut, 0, samplesRead); in run()
|
/external/drrickorang/LoopbackApp/app/src/main/cpp/ |
D | jni_native.c | 109 int samplesRead = pInstance->methods->processNext( in Java_org_drrickorang_loopback_NativeAudioThread_nativeProcessNext() local 111 return samplesRead; in Java_org_drrickorang_loopback_NativeAudioThread_nativeProcessNext()
|
D | sles.cpp | 849 int samplesRead = 0; in slesProcessNext() local 873 samplesRead += actual; in slesProcessNext() 900 pSles, samplesRead, maxSamples); in slesProcessNext() 902 return samplesRead; in slesProcessNext()
|
/external/sonic/doc/ |
D | index.md | 155 samplesRead = sonicReadShortFromStream(stream, outBuffer, maxBufferSize); 156 if(samplesRead > 0) {
|