Home
last modified time | relevance | path

Searched refs:getSamplesPerFrame (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalPlay.cpp132 int32_t numSamples = framesToWrite * getSamplesPerFrame(); in writeNowWithConversion()
136 bool ramping = mVolumeRamp.nextSegment(framesToWrite * getSamplesPerFrame(), in writeNowWithConversion()
147 getSamplesPerFrame(), in writeNowWithConversion()
156 getSamplesPerFrame(), in writeNowWithConversion()
174 getSamplesPerFrame(), in writeNowWithConversion()
189 getSamplesPerFrame(), in writeNowWithConversion()
DAudioStreamInternal.cpp98 request.getConfiguration().setSamplesPerFrame(getSamplesPerFrame()); in open()
115 setSamplesPerFrame(configuration.getSamplesPerFrame()); in open()
171 int32_t bytesPerFrame = getSamplesPerFrame() in open()
DAudioStreamInternalCapture.cpp129 int32_t numSamples = framesToProcess * getSamplesPerFrame(); in readNowWithConversion()
/frameworks/av/services/oboeservice/
DAAudioServiceStreamShared.cpp87 mSamplesPerFrame = configurationInput.getSamplesPerFrame(); in open()
89 mSamplesPerFrame = mServiceEndpoint->getSamplesPerFrame(); in open()
90 } else if (mSamplesPerFrame != mServiceEndpoint->getSamplesPerFrame()) { in open()
92 mSamplesPerFrame, mServiceEndpoint->getSamplesPerFrame()); in open()
DAAudioServiceEndpoint.h42 int32_t getSamplesPerFrame() const { return mStreamInternal->getSamplesPerFrame(); } in getSamplesPerFrame() function
DAAudioServiceEndpointPlay.cpp52 mMixer.allocate(getStreamInternal()->getSamplesPerFrame(), in open()
DAAudioServiceStreamMMAP.cpp108 int32_t aaudioSamplesPerFrame = configurationInput.getSamplesPerFrame(); in open()
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.h53 int32_t getSamplesPerFrame() const { in getSamplesPerFrame() function
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp59 int32_t samplesPerFrame = (getSamplesPerFrame() == AAUDIO_UNSPECIFIED) in open()
60 ? 2 : getSamplesPerFrame(); in open()
DAudioStreamTrack.cpp63 int32_t samplesPerFrame = (getSamplesPerFrame() == AAUDIO_UNSPECIFIED) in open()
64 ? 2 : getSamplesPerFrame(); in open()
/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor_callback.cpp53 printf("recorder.getSamplesPerFrame() = %d\n", recorder.getSamplesPerFrame()); in main()
/frameworks/av/media/libaaudio/src/core/
DAudioStreamBuilder.h37 int getSamplesPerFrame() const { in getSamplesPerFrame() function
DAudioStream.cpp42 mSamplesPerFrame = builder.getSamplesPerFrame(); in open()
DAAudioAudio.cpp355 return audioStream->getSamplesPerFrame(); in AAudioStream_getChannelCount()
361 return audioStream->getSamplesPerFrame(); in AAudioStream_getSamplesPerFrame()
DAudioStream.h149 aaudio_result_t getSamplesPerFrame() const { in getSamplesPerFrame() function
/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimpleRecorder.h67 int32_t getSamplesPerFrame() { in getSamplesPerFrame() function