Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DAAudioServiceEndpointMMAP.cpp156 int32_t minSizeFrames = getBufferCapacity(); in open()
178 if (getBufferCapacity() < 0) { in open()
180 setBufferCapacity(-getBufferCapacity()); in open()
227 getSampleRate(), getSamplesPerFrame(), deviceId, getBufferCapacity()); in open()
266 mFramesTransferred.roundUp64(getBufferCapacity()); in stopStream()
353 int32_t capacityInBytes = getBufferCapacity() * bytesPerFrame; in getDownDataDescription()
358 parcelable.mDownDataQueueParcelable.setCapacityInFrames(getBufferCapacity()); in getDownDataDescription()
DAAudioServiceStreamShared.cpp167 setBufferCapacity(calculateBufferCapacity(configurationInput.getBufferCapacity(), in open()
169 if (getBufferCapacity() < 0) { in open()
170 result = getBufferCapacity(); // negative error code in open()
179 result = mAudioDataQueue->allocate(calculateBytesPerFrame(), getBufferCapacity()); in open()
182 getBufferCapacity()); in open()
DAAudioServiceStreamBase.cpp78 result << std::setw(9) << getBufferCapacity(); in dump()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp63 size_t frameCount = (builder.getBufferCapacity() == AAUDIO_UNSPECIFIED) ? 0 in open()
64 : builder.getBufferCapacity(); in open()
318 return getBufferCapacity(); // TODO implement in AudioRecord? in getBufferSize()
321 int32_t AudioStreamRecord::getBufferCapacity() const in getBufferCapacity() function in AudioStreamRecord
DAudioStreamRecord.h58 int32_t getBufferCapacity() const override;
DAudioStreamTrack.h61 int32_t getBufferCapacity() const override;
DAudioStreamTrack.cpp86 size_t frameCount = (size_t)builder.getBufferCapacity(); in open()
409 int32_t AudioStreamTrack::getBufferCapacity() const in getBufferCapacity() function in AudioStreamTrack
/frameworks/av/media/libaaudio/examples/utils/
DAAudioArgsParser.h69 int32_t getBufferCapacity() const { in getBufferCapacity() function
275 printf(" Capacity: requested = %d, actual = %d\n", getBufferCapacity(), in compareWithStream()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp115 request.getConfiguration().setBufferCapacity(builder.getBufferCapacity()); in open()
174 if (mCallbackFrames > getBufferCapacity() / 2) { in open()
176 mCallbackFrames, getBufferCapacity()); in open()
678 int32_t AudioStreamInternal::getBufferCapacity() const { in getBufferCapacity() function in AudioStreamInternal
DAudioStreamInternal.h62 int32_t getBufferCapacity() const override;
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.h75 int32_t getBufferCapacity() const { in getBufferCapacity() function
DAudioStream.h137 virtual int32_t getBufferCapacity() const { in getBufferCapacity() function
DAAudioAudio.cpp410 return audioStream->getBufferCapacity(); in AAudioStream_getBufferCapacityInFrames()
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.cpp51 status = parcel->writeInt32(getBufferCapacity()); in writeToParcel()