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.java238 int samplesRead = slesProcessNext(sles_data, mSamples, offset); in run() local
239 totalSamplesRead += samplesRead; in run()
240 offset += samplesRead; in run()
241 log(" [" + ii + "] jni samples read:" + samplesRead + in run()
DLoopbackAudioThread.java177 int samplesRead = mLatencyTestPipe.read(audioShortArrayOut, 0, in run() local
179 mAudioTrack.write(audioShortArrayOut, 0, samplesRead); in run()
/external/drrickorang/LoopbackApp/app/src/main/jni/
Djni_sles.c62 int samplesRead = slesProcessNext(pSles, pCurrentSample, availableSamples); in Java_org_drrickorang_loopback_NativeAudioThread_slesProcessNext() local
63 return samplesRead; in Java_org_drrickorang_loopback_NativeAudioThread_slesProcessNext()
Dsles.cpp861 int samplesRead = 0; in slesProcessNext() local
885 samplesRead += actual; in slesProcessNext()
912 pSles, samplesRead, maxSamples); in slesProcessNext()
914 return samplesRead; in slesProcessNext()
/external/sonic/doc/
Dindex.md155 samplesRead = sonicReadShortFromStream(stream, outBuffer, maxBufferSize);
156 if(samplesRead > 0) {