Home
last modified time | relevance | path

Searched refs:getBufferCapacity (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/services/oboeservice/
DAAudioServiceStreamShared.cpp177 setBufferCapacity(calculateBufferCapacity(configurationInput.getBufferCapacity(), in open()
179 if (getBufferCapacity() < 0) { in open()
180 result = getBufferCapacity(); // negative error code in open()
189 result = mAudioDataQueue->allocate(calculateBytesPerFrame(), getBufferCapacity()); in open()
192 __func__, getBufferCapacity()); in open()
DAAudioServiceEndpointMMAP.cpp279 deviceId, getBufferCapacity()); in openWithConfig()
345 mFramesTransferred.roundUp64(getBufferCapacity()); in stopStream()
510 if (mAudioDataWrapper->setupFifoBuffer(calculateBytesPerFrame(), getBufferCapacity()) in getDownDataDescription()
519 getBufferCapacity(), in getDownDataDescription()
615 int32_t minSizeFrames = getBufferCapacity(); in createMmapBuffer_l()
DAAudioServiceStreamBase.cpp100 result << std::setw(9) << getBufferCapacity(); in dump()
123 .set(AMEDIAMETRICS_PROP_BUFFERCAPACITYFRAMES, (int32_t)getBufferCapacity()) in logOpen()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp71 size_t frameCount = (builder.getBufferCapacity() == AAUDIO_UNSPECIFIED) ? 0 in open()
72 : builder.getBufferCapacity(); in open()
482 return getBufferCapacity(); // TODO implement in AudioRecord? in getBufferSize()
DAudioStreamTrack.cpp104 size_t frameCount = (size_t)builder.getBufferCapacity(); in open()
321 || getBufferCapacityFromDevice() != getBufferCapacity() in onNewIAudioTrack()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioArgsParser.h156 int32_t getBufferCapacity() const { in getBufferCapacity() function
240 AAudioStreamBuilder_setBufferCapacityInFrames(builder, getBufferCapacity()); in applyParameters()
527 getBufferCapacity(), in compareWithStream()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp137 request.getConfiguration().setBufferCapacity(builder.getBufferCapacity()); in open()
294 if (mCallbackFrames > getBufferCapacity() / 2) { in configureDataInformation()
296 __func__, mCallbackFrames, getBufferCapacity()); in configureDataInformation()
924 const int32_t maximumSize = getBufferCapacity() - getFramesPerBurst(); in setBufferSize()
977 int32_t AudioStreamInternal::getBufferCapacity() const { in getBufferCapacity() function in AudioStreamInternal
DAudioStreamInternal.h62 int32_t getBufferCapacity() const override;
DAudioStreamInternalPlay.cpp122 int64_t emptyFramesInBuffer = ((int64_t) getBufferCapacity()) - validFramesInBuffer; in prepareBuffersForStop()
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.h68 int32_t getBufferCapacity() const { in getBufferCapacity() function
DAudioStream.h203 virtual int32_t getBufferCapacity() const { in getBufferCapacity() function
DAudioStream.cpp130 .set(AMEDIAMETRICS_PROP_BUFFERCAPACITYFRAMES, getBufferCapacity()) in logOpenActual()
DAAudioAudio.cpp500 return audioStream->getBufferCapacity(); in AAudioStream_getBufferCapacityInFrames()
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.cpp115 result.bufferCapacity = getBufferCapacity(); in parcelable()