Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/fifo/
DFifoBuffer.cpp132 int partIndex = 0; in read() local
133 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in read()
135 fifo_frames_t framesAvailable = wrappingBuffer.numFrames[partIndex]; in read()
141 memcpy(destination, wrappingBuffer.data[partIndex], numBytes); in read()
148 partIndex++; in read()
163 int partIndex = 0; in write() local
164 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in write()
166 fifo_frames_t framesAvailable = wrappingBuffer.numFrames[partIndex]; in write()
172 memcpy(wrappingBuffer.data[partIndex], source, numBytes); in write()
179 partIndex++; in write()
/frameworks/av/services/oboeservice/
DAAudioMixer.cpp85 int partIndex = 0; in mix() local
87 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in mix()
89 fifo_frames_t framesAvailableFromPart = wrappingBuffer.numFrames[partIndex]; in mix()
94 mixPart(destination, (float *)wrappingBuffer.data[partIndex], in mix()
100 partIndex++; in mix()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalCapture.cpp166 for (int partIndex = 0; framesLeft > 0 && partIndex < WrappingBuffer::SIZE; partIndex++) { in readNowWithConversion() local
168 int32_t framesAvailable = wrappingBuffer.numFrames[partIndex]; in readNowWithConversion()
180 memcpy(destination, wrappingBuffer.data[partIndex], numBytes); in readNowWithConversion()
184 (const int16_t *) wrappingBuffer.data[partIndex], in readNowWithConversion()
191 (const float *) wrappingBuffer.data[partIndex], in readNowWithConversion()
DAudioStreamInternalPlay.cpp209 int partIndex = 0; in writeNowWithConversion() local
210 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in writeNowWithConversion()
212 int32_t framesAvailable = wrappingBuffer.numFrames[partIndex]; in writeNowWithConversion()
229 wrappingBuffer.data[partIndex], in writeNowWithConversion()
241 partIndex++; in writeNowWithConversion()