Home
last modified time | relevance | path

Searched refs:getBufferCapacity (Results 1 – 13 of 13) 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.cpp220 deviceId, getBufferCapacity()); in openWithFormat()
274 mFramesTransferred.roundUp64(getBufferCapacity()); in stopStream()
311 int32_t capacityInBytes = getBufferCapacity() * bytesPerFrame; in exitStandby()
316 parcelable->mDownDataQueueParcelable.setCapacityInFrames(getBufferCapacity()); in exitStandby()
412 int32_t capacityInBytes = getBufferCapacity() * bytesPerFrame; in getDownDataDescription()
417 parcelable->mDownDataQueueParcelable.setCapacityInFrames(getBufferCapacity()); in getDownDataDescription()
505 int32_t minSizeFrames = getBufferCapacity(); in createMmapBuffer()
DAAudioServiceStreamBase.cpp103 result << std::setw(9) << getBufferCapacity(); in dump()
123 .set(AMEDIAMETRICS_PROP_BUFFERCAPACITYFRAMES, (int32_t)getBufferCapacity()) in logOpen()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp132 request.getConfiguration().setBufferCapacity(builder.getBufferCapacity()); in open()
263 if (mCallbackFrames > getBufferCapacity() / 2) { in configureDataInformation()
265 __func__, mCallbackFrames, getBufferCapacity()); in configureDataInformation()
369 uint8_t buffer[getBufferCapacity() * getBytesPerFrame()]; in exitStandby_l()
371 mAudioEndpoint->read(buffer, getBufferCapacity()); in exitStandby_l()
860 const int32_t maximumSize = getBufferCapacity() - getFramesPerBurst(); in setBufferSize()
905 int32_t AudioStreamInternal::getBufferCapacity() const { in getBufferCapacity() function in AudioStreamInternal
DAudioStreamInternal.h59 int32_t getBufferCapacity() const override;
/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/legacy/
DAudioStreamRecord.cpp71 size_t frameCount = (builder.getBufferCapacity() == AAUDIO_UNSPECIFIED) ? 0 in open()
72 : builder.getBufferCapacity(); in open()
473 return getBufferCapacity(); // TODO implement in AudioRecord? in getBufferSize()
DAudioStreamTrack.cpp96 size_t frameCount = (size_t)builder.getBufferCapacity(); in open()
302 || getBufferCapacityFromDevice() != getBufferCapacity() in onNewIAudioTrack()
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.cpp97 result.bufferCapacity = getBufferCapacity(); in parcelable()
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.h68 int32_t getBufferCapacity() const { in getBufferCapacity() function
DAudioStream.h194 virtual int32_t getBufferCapacity() const { in getBufferCapacity() function
DAudioStream.cpp129 .set(AMEDIAMETRICS_PROP_BUFFERCAPACITYFRAMES, getBufferCapacity()) in logOpenActual()
DAAudioAudio.cpp480 return audioStream->getBufferCapacity(); in AAudioStream_getBufferCapacityInFrames()