Home
last modified time | relevance | path

Searched refs:partIndex (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libaaudio/src/fifo/
DFifoBuffer.cpp123 int partIndex = 0; in read() local
124 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in read()
126 fifo_frames_t framesAvailable = wrappingBuffer.numFrames[partIndex]; in read()
132 memcpy(destination, wrappingBuffer.data[partIndex], numBytes); in read()
139 partIndex++; in read()
154 int partIndex = 0; in write() local
155 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in write()
157 fifo_frames_t framesAvailable = wrappingBuffer.numFrames[partIndex]; in write()
163 memcpy(wrappingBuffer.data[partIndex], source, numBytes); in write()
170 partIndex++; in write()
/frameworks/av/services/oboeservice/
DAAudioMixer.cpp81 int partIndex = 0; in mix() local
83 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in mix()
85 fifo_frames_t framesAvailableFromPart = wrappingBuffer.numFrames[partIndex]; in mix()
90 mixPart(destination, (float *)wrappingBuffer.data[partIndex], in mix()
96 partIndex++; in mix()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalCapture.cpp179 for (int partIndex = 0; framesLeft > 0 && partIndex < WrappingBuffer::SIZE; partIndex++) { in readNowWithConversion() local
181 const int32_t framesAvailable = wrappingBuffer.numFrames[partIndex]; in readNowWithConversion()
195 wrappingBuffer.data[partIndex], sourceFormat, numSamples); in readNowWithConversion()
DAudioStreamInternalPlay.cpp231 int partIndex = 0; in writeNowWithConversion() local
232 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in writeNowWithConversion()
234 int32_t framesAvailable = wrappingBuffer.numFrames[partIndex]; in writeNowWithConversion()
243 wrappingBuffer.data[partIndex], in writeNowWithConversion()
251 partIndex++; in writeNowWithConversion()