Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DAAudioServiceStreamShared.cpp172 setBufferCapacity(calculateBufferCapacity(configurationInput.getBufferCapacity(), in open()
174 if (getBufferCapacity() < 0) { in open()
175 result = getBufferCapacity(); // negative error code in open()
184 result = mAudioDataQueue->allocate(calculateBytesPerFrame(), getBufferCapacity()); in open()
187 __func__, getBufferCapacity()); in open()
DAAudioServiceEndpointMMAP.cpp186 int32_t minSizeFrames = getBufferCapacity(); in open()
237 __func__, getSampleRate(), getSamplesPerFrame(), deviceId, getBufferCapacity()); in open()
284 mFramesTransferred.roundUp64(getBufferCapacity()); in stopStream()
375 int32_t capacityInBytes = getBufferCapacity() * bytesPerFrame; in getDownDataDescription()
380 parcelable.mDownDataQueueParcelable.setCapacityInFrames(getBufferCapacity()); in getDownDataDescription()
DAAudioServiceStreamBase.cpp78 result << std::setw(9) << getBufferCapacity(); in dump()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp70 size_t frameCount = (builder.getBufferCapacity() == AAUDIO_UNSPECIFIED) ? 0 in open()
71 : builder.getBufferCapacity(); in open()
466 return getBufferCapacity(); // TODO implement in AudioRecord? in getBufferSize()
469 int32_t AudioStreamRecord::getBufferCapacity() const in getBufferCapacity() function in AudioStreamRecord
DAudioStreamRecord.h58 int32_t getBufferCapacity() const override;
DAudioStreamTrack.h71 int32_t getBufferCapacity() const override;
DAudioStreamTrack.cpp97 size_t frameCount = (size_t)builder.getBufferCapacity(); in open()
444 int32_t AudioStreamTrack::getBufferCapacity() const in getBufferCapacity() function in AudioStreamTrack
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp121 request.getConfiguration().setBufferCapacity(builder.getBufferCapacity()); in open()
216 if (mCallbackFrames > getBufferCapacity() / 2) { in open()
218 __func__, mCallbackFrames, getBufferCapacity()); in open()
698 int32_t maximumSize = getBufferCapacity(); in setBufferSize()
730 int32_t AudioStreamInternal::getBufferCapacity() const { in getBufferCapacity() function in AudioStreamInternal
DAudioStreamInternal.h67 int32_t getBufferCapacity() const override;
/frameworks/av/media/libaaudio/examples/utils/
DAAudioArgsParser.h143 int32_t getBufferCapacity() const { in getBufferCapacity() function
219 AAudioStreamBuilder_setBufferCapacityInFrames(builder, getBufferCapacity()); in applyParameters()
482 getBufferCapacity(), in compareWithStream()
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.h75 int32_t getBufferCapacity() const { in getBufferCapacity() function
DAudioStream.h163 virtual int32_t getBufferCapacity() const { in getBufferCapacity() function
DAAudioAudio.cpp410 return audioStream->getBufferCapacity(); in AAudioStream_getBufferCapacityInFrames()
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.cpp57 status = parcel->writeInt32(getBufferCapacity()); in writeToParcel()