OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:WrappingBuffer
(Results
1 - 9
of
9
) sorted by null
/frameworks/av/media/libaaudio/src/fifo/
FifoBuffer.h
30
struct
WrappingBuffer
{
66
* @param
wrappingBuffer
69
fifo_frames_t getFullDataAvailable(
WrappingBuffer
*
wrappingBuffer
);
75
* @param
wrappingBuffer
78
fifo_frames_t getEmptyRoomAvailable(
WrappingBuffer
*
wrappingBuffer
);
121
void fillWrappingBuffer(
WrappingBuffer
*
wrappingBuffer
,
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/src/client/
AudioEndpoint.h
52
int32_t getEmptyFramesAvailable(android::
WrappingBuffer
*
wrappingBuffer
);
56
int32_t getFullFramesAvailable(android::
WrappingBuffer
*
wrappingBuffer
);
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],
AudioEndpoint.cpp
193
int32_t AudioEndpoint::getEmptyFramesAvailable(
WrappingBuffer
*
wrappingBuffer
) {
194
return mDataQueue->getEmptyRoomAvailable(
wrappingBuffer
);
202
int32_t AudioEndpoint::getFullFramesAvailable(
WrappingBuffer
*
wrappingBuffer
)
204
return mDataQueue->getFullDataAvailable(
wrappingBuffer
);
AudioStreamInternal.cpp
48
using android::
WrappingBuffer
;
/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/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 77 milliseconds