OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:framesToWrite
(Results
1 - 4
of
4
) sorted by null
/frameworks/av/media/libaaudio/src/fifo/
FifoBuffer.cpp
165
fifo_frames_t
framesToWrite
= framesLeft;
168
if (
framesToWrite
> framesAvailable) {
169
framesToWrite
= framesAvailable;
171
int32_t numBytes = convertFramesToBytes(
framesToWrite
);
175
framesLeft -=
framesToWrite
;
/frameworks/av/media/libaaudio/tests/
test_atomic_fifo.cpp
117
fifo_frames_t
framesToWrite
= std::min(framesAvailable, numFrames);
118
for (int i = 0; i <
framesToWrite
; i++) {
121
fifo_frames_t actual = mFifoBuffer.write(mData,
framesToWrite
);
122
ASSERT_EQ(
framesToWrite
, actual);
/system/media/audio_utils/tests/
fifo_tests.cpp
118
size_t
framesToWrite
= sfinfoin.frames - framesWritten;
120
if (
framesToWrite
== 0 && (framesToRead == 0 || !readerThrottlesWriter)) {
124
if (
framesToWrite
> maxFramesPerWrite) {
125
framesToWrite
= maxFramesPerWrite;
127
framesToWrite
= rand() % (
framesToWrite
+ 1);
129
&inputBuffer[framesWritten * sfinfoin.channels],
framesToWrite
);
131
printf("wrote %d out of %d\n", (int) actualWritten, (int)
framesToWrite
);
133
if (actualWritten < 0 || (size_t) actualWritten >
framesToWrite
) {
137
if (actualWritten < min((int) frameCount - fifoFillLevel, (int)
framesToWrite
)) {
[
all
...]
/frameworks/av/media/libaaudio/src/client/
AudioStreamInternalPlay.cpp
211
int32_t
framesToWrite
= framesLeft;
214
if (
framesToWrite
> framesAvailable) {
215
framesToWrite
= framesAvailable;
218
int32_t numBytes = getBytesPerFrame() *
framesToWrite
;
222
mVolumeRamp.nextSegment(
framesToWrite
, &levelFrom, &levelTo);
233
AAudioDataConverter::convert(source, destination,
framesToWrite
,
237
framesLeft -=
framesToWrite
;
Completed in 79 milliseconds