Searched refs:getBufferCapacity (Results 1 – 13 of 13) sorted by relevance
/frameworks/av/services/oboeservice/ |
D | AAudioServiceStreamShared.cpp | 177 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()
|
D | AAudioServiceEndpointMMAP.cpp | 220 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()
|
D | AAudioServiceStreamBase.cpp | 103 result << std::setw(9) << getBufferCapacity(); in dump() 123 .set(AMEDIAMETRICS_PROP_BUFFERCAPACITYFRAMES, (int32_t)getBufferCapacity()) in logOpen()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternal.cpp | 132 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
|
D | AudioStreamInternal.h | 59 int32_t getBufferCapacity() const override;
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioArgsParser.h | 156 int32_t getBufferCapacity() const { in getBufferCapacity() function 240 AAudioStreamBuilder_setBufferCapacityInFrames(builder, getBufferCapacity()); in applyParameters() 527 getBufferCapacity(), in compareWithStream()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamRecord.cpp | 71 size_t frameCount = (builder.getBufferCapacity() == AAUDIO_UNSPECIFIED) ? 0 in open() 72 : builder.getBufferCapacity(); in open() 473 return getBufferCapacity(); // TODO implement in AudioRecord? in getBufferSize()
|
D | AudioStreamTrack.cpp | 96 size_t frameCount = (size_t)builder.getBufferCapacity(); in open() 302 || getBufferCapacityFromDevice() != getBufferCapacity() in onNewIAudioTrack()
|
/frameworks/av/media/libaaudio/src/binding/ |
D | AAudioStreamConfiguration.cpp | 97 result.bufferCapacity = getBufferCapacity(); in parcelable()
|
/frameworks/av/media/libaaudio/src/core/ |
D | AAudioStreamParameters.h | 68 int32_t getBufferCapacity() const { in getBufferCapacity() function
|
D | AudioStream.h | 194 virtual int32_t getBufferCapacity() const { in getBufferCapacity() function
|
D | AudioStream.cpp | 129 .set(AMEDIAMETRICS_PROP_BUFFERCAPACITYFRAMES, getBufferCapacity()) in logOpenActual()
|
D | AAudioAudio.cpp | 480 return audioStream->getBufferCapacity(); in AAudioStream_getBufferCapacityInFrames()
|