Home
last modified time | relevance | path

Searched refs:samplesRead (Results 1 – 7 of 7) sorted by relevance

/external/sonic/
Dmain.c31 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()
Dwave.c330 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/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DNativeAudioThread.java273 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()
DLoopbackAudioThread.java187 int samplesRead = mLatencyTestPipe.read(audioShortArrayOut, 0, in run() local
189 mAudioTrack.write(audioShortArrayOut, 0, samplesRead); in run()
/external/drrickorang/LoopbackApp/app/src/main/cpp/
Djni_native.c109 int samplesRead = pInstance->methods->processNext( in Java_org_drrickorang_loopback_NativeAudioThread_nativeProcessNext() local
111 return samplesRead; in Java_org_drrickorang_loopback_NativeAudioThread_nativeProcessNext()
Dsles.cpp849 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/
Dindex.md155 samplesRead = sonicReadShortFromStream(stream, outBuffer, maxBufferSize);
156 if(samplesRead > 0) {