/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/ |
D | loopback_test.cpp | 49 int framesRead = 0; in collectRecording() local 57 while (framesRead <= static_cast<int>(buffer.getFrameCount())) { in collectRecording() 66 AudioBufferView<double> dst = buffer.getView(framesRead, actualFrames); in collectRecording() 68 framesRead += actualFrames; in collectRecording() 71 return framesRead * mTestCtx->getChannelCount(); in collectRecording() 74 void LoopbackTest::receiveRecording(size_t framesRead) { in receiveRecording() argument 76 audio_utils_fifo_write(&mRecordingFifo, mReadBuffer.getData(), framesRead); in receiveRecording() 77 if (actualFrames >= 0 && static_cast<size_t>(actualFrames) != framesRead) { in receiveRecording() 79 (long long)framesRead, (long long)actualFrames); in receiveRecording() 116 ssize_t framesRead = mSoundSys->readAudio(readBuffer); in writeCallback() local [all …]
|
D | sound_system_aaudio.cpp | 391 ssize_t framesRead; in drain() local 393 framesRead = mStream->read(drainBuffer); in drain() 394 if (framesRead < 0) return false; in drain() 395 } while (framesRead > 0); in drain() 406 size_t framesRead = result; in read() local 407 copyAudioBufferViewData(mConversionBuffer->getView(0, framesRead), buffer); in read() 408 return framesRead; in read()
|
D | loopback_test.h | 44 void receiveRecording(size_t framesRead);
|
/external/oboe/src/fifo/ |
D | FifoBuffer.cpp | 155 int32_t framesRead = read(buffer, numFrames); in readNow() local 156 if (framesRead < 0) { in readNow() 157 return framesRead; in readNow() 159 int32_t framesLeft = numFrames - framesRead; in readNow() 160 mFramesReadCount += framesRead; in readNow() 165 destination += convertFramesToBytes(framesRead); // point to first byte not set in readNow() 170 return framesRead; in readNow()
|
/external/oboe/src/flowgraph/ |
D | SinkI16.cpp | 38 int32_t framesRead = pullData(framesLeft); in read() local 39 if (framesRead <= 0) { in read() 43 int32_t numSamples = framesRead * channelCount; in read() 54 framesLeft -= framesRead; in read()
|
D | SinkI24.cpp | 40 int32_t framesRead = pullData(framesLeft); in read() local 41 if (framesRead <= 0) { in read() 45 int32_t numSamples = framesRead * channelCount; in read() 63 framesLeft -= framesRead; in read()
|
/external/skia/modules/audioplayer/ |
D | SkAudioPlayer_oboe.cpp | 48 int framesRead = fReader->getDataFloat(outBuffer, numFrames); in onAudioReady() local 49 fReadFrameIndex += framesRead; in onAudioReady() 50 int remainingFrames = numFrames - framesRead; in onAudioReady() 55 fReader->getDataFloat(&outBuffer[framesRead * fReader->getNumChannels()], in onAudioReady() 60 … renderSilence(&outBuffer[framesRead * fReader->getNumChannels()], remainingFrames); in onAudioReady()
|
/external/oboe/apps/fxlab/app/src/main/cpp/ |
D | DuplexCallback.h | 45 int32_t framesRead = result.value(); in onAudioReady() local 50 if (mSpinUpCallbacks > 0 && framesRead > 0) { in onAudioReady() 54 f(inputBuffer.get(), inputBuffer.get() + framesRead); in onAudioReady() 55 for (int i = 0; i < framesRead; i++) { in onAudioReady()
|
/external/oboe/src/common/ |
D | SourceI16Caller.cpp | 32 int32_t framesRead = bytesRead / mStream->getBytesPerFrame(); in onProcess() local 36 int32_t numSamples = framesRead * output.getSamplesPerFrame(); in onProcess() 46 return framesRead; in onProcess()
|
D | SourceFloatCaller.cpp | 28 int32_t framesRead = bytesRead / mStream->getBytesPerFrame(); in onProcess() local 29 return framesRead; in onProcess()
|
D | FilterAudioStream.cpp | 90 int32_t framesRead = mFlowGraph->read(buffer, numFrames, timeoutNanoseconds); in read() local 91 return ResultWithValue<int32_t>::createBasedOnSign(framesRead); in read()
|
D | DataConversionFlowGraph.cpp | 228 int32_t framesRead = mSink->read(mAppBuffer.get(), flowgraph::kDefaultBufferSize); in write() local 229 if (framesRead <= 0) break; in write() 232 framesRead * mFilterStream->getBytesPerFrame()); in write()
|
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/ |
D | AudioStreamBase.java | 36 status.framesRead = getFramesRead(); in getStreamStatus() 81 public long framesRead; field in AudioStreamBase.StreamStatus 95 buffer.append("frames written " + framesWritten + " - read " + framesRead in dump() 96 + " = " + (framesWritten - framesRead) + "\n"); in dump()
|
/external/oboe/apps/OboeTester/app/src/main/cpp/ |
D | PlayRecordingCallback.cpp | 28 int32_t framesRead = mRecording->read(floatData, numFrames); in onAudioReady() local 30 return framesRead > 0 in onAudioReady()
|
D | MultiChannelRecording.h | 131 int32_t framesRead = 0; in read() local 148 framesRead += framesNow; in read() 150 return framesRead; in read()
|
D | FullDuplexStream.cpp | 73 int32_t framesRead = 0; in onAudioReady() local 87 framesRead = resultRead.value(); in onAudioReady() 94 mInputBuffer.get(), framesRead, in onAudioReady()
|
D | NativeAudioContext.cpp | 460 int32_t framesRead = result.value(); in runBlockingIO() local 461 if (framesRead < framesPerBlock) { // timeout? in runBlockingIO() 462 LOGE("%s() : read() read %d of %d\n", __func__, framesRead, framesPerBlock); in runBlockingIO() 469 framesRead); in runBlockingIO()
|
D | NativeAudioContext.h | 200 int64_t framesRead = oboeStream->getFramesRead(); in getColdStartInputMillis() local 201 if (framesRead > 0) { in getColdStartInputMillis() 206 framesRead, in getColdStartInputMillis()
|
/external/oboe/samples/LiveEffect/src/main/cpp/ |
D | FullDuplexStream.cpp | 71 int32_t framesRead = result.value(); in onAudioReady() local 74 mInputStream, mInputBuffer.get(), framesRead, in onAudioReady()
|
/external/oboe/src/opensles/ |
D | AudioOutputStreamOpenSLES.h | 50 void setFramesRead(int64_t framesRead);
|
D | AudioOutputStreamOpenSLES.cpp | 415 void AudioOutputStreamOpenSLES::setFramesRead(int64_t framesRead) { in setFramesRead() argument 416 int64_t millisWritten = framesRead * kMillisPerSecond / getSampleRate(); in setFramesRead()
|