HomeSort by relevance Sort by last modified time
    Searched defs:wrappingBuffer (Results 1 - 5 of 5) sorted by null

  /frameworks/av/services/oboeservice/
AAudioMixer.cpp 32 using android::WrappingBuffer;
53 WrappingBuffer wrappingBuffer;
61 fifo_frames_t fullFrames = fifo->getFullDataAvailable(&wrappingBuffer);
87 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) {
89 fifo_frames_t framesAvailableFromPart = wrappingBuffer.numFrames[partIndex];
94 mixPart(destination, (float *)wrappingBuffer.data[partIndex],
  /frameworks/av/media/libaaudio/src/client/
AudioStreamInternalCapture.cpp 31 using android::WrappingBuffer;
159 WrappingBuffer wrappingBuffer;
163 mAudioEndpoint.getFullFramesAvailable(&wrappingBuffer);
166 for (int partIndex = 0; framesLeft > 0 && partIndex < WrappingBuffer::SIZE; partIndex++) {
168 int32_t framesAvailable = wrappingBuffer.numFrames[partIndex];
180 memcpy(destination, wrappingBuffer.data[partIndex], numBytes);
184 (const int16_t *) wrappingBuffer.data[partIndex],
191 (const float *) wrappingBuffer.data[partIndex],
AudioStreamInternalPlay.cpp 29 using android::WrappingBuffer;
202 WrappingBuffer wrappingBuffer;
206 mAudioEndpoint.getEmptyFramesAvailable(&wrappingBuffer);
210 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) {
212 int32_t framesAvailable = wrappingBuffer.numFrames[partIndex];
229 wrappingBuffer.data[partIndex],
  /frameworks/av/media/libaaudio/src/fifo/
FifoBuffer.cpp 84 void FifoBuffer::fillWrappingBuffer(WrappingBuffer *wrappingBuffer,
87 wrappingBuffer->data[1] = nullptr;
88 wrappingBuffer->numFrames[1] = 0;
93 wrappingBuffer->data[0] = source;
95 wrappingBuffer->numFrames[0] = firstFrames;
96 wrappingBuffer->data[1] = &mStorage[0];
97 wrappingBuffer->numFrames[1] = framesAvailable - firstFrames;
99 wrappingBuffer->data[0] = source;
100 wrappingBuffer->numFrames[0] = framesAvailable
    [all...]
  /frameworks/av/media/libaaudio/tests/
test_atomic_fifo.cpp 28 using android::WrappingBuffer;
97 WrappingBuffer wrappingBuffer;
100 fifo_frames_t wrapAvailable = mFifoBuffer.getEmptyRoomAvailable(&wrappingBuffer);
102 fifo_frames_t bothAvailable = wrappingBuffer.numFrames[0] + wrappingBuffer.numFrames[1];
107 wrapAvailable = mFifoBuffer.getFullDataAvailable(&wrappingBuffer);
109 bothAvailable = wrappingBuffer.numFrames[0] + wrappingBuffer.numFrames[1];

Completed in 160 milliseconds