Searched refs:samplesRead (Results 1 – 7 of 7) 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/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | NativeAudioThread.java | 238 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()
|
D | LoopbackAudioThread.java | 177 int samplesRead = mLatencyTestPipe.read(audioShortArrayOut, 0, in run() local 179 mAudioTrack.write(audioShortArrayOut, 0, samplesRead); in run()
|
/external/drrickorang/LoopbackApp/app/src/main/jni/ |
D | jni_sles.c | 62 int samplesRead = slesProcessNext(pSles, pCurrentSample, availableSamples); in Java_org_drrickorang_loopback_NativeAudioThread_slesProcessNext() local 63 return samplesRead; in Java_org_drrickorang_loopback_NativeAudioThread_slesProcessNext()
|
D | sles.cpp | 861 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/ |
D | index.md | 155 samplesRead = sonicReadShortFromStream(stream, outBuffer, maxBufferSize); 156 if(samplesRead > 0) {
|