Home
last modified time | relevance | path

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

12

/frameworks/av/services/oboeservice/
DAAudioServiceStreamShared.cpp162 setSamplesPerFrame(configurationInput.getSamplesPerFrame()); in open()
163 if (getSamplesPerFrame() == AAUDIO_UNSPECIFIED) { in open()
164 setSamplesPerFrame(endpoint->getSamplesPerFrame()); in open()
165 } else if (getSamplesPerFrame() != endpoint->getSamplesPerFrame()) { in open()
167 __func__, getSamplesPerFrame(), endpoint->getSamplesPerFrame()); in open()
DAAudioServiceEndpoint.cpp57 result << " Channel Count: " << getSamplesPerFrame() << "\n"; in dump()
134 if (configuration.getSamplesPerFrame() != AAUDIO_UNSPECIFIED && in matches()
135 configuration.getSamplesPerFrame() != getSamplesPerFrame()) { in matches()
DAAudioServiceEndpointPlay.cpp52 mMixer.allocate(getStreamInternal()->getSamplesPerFrame(), in open()
DAAudioServiceEndpointMMAP.cpp123 int32_t aaudioSamplesPerFrame = getSamplesPerFrame(); in open()
237 __func__, getSampleRate(), getSamplesPerFrame(), deviceId, getBufferCapacity()); in open()
DAAudioServiceEndpointShared.cpp78 setSamplesPerFrame(mStreamInternal->getSamplesPerFrame()); in open()
/frameworks/av/media/libaaudio/src/flowgraph/
DAudioProcessorBase.h91 int32_t getSamplesPerFrame() const { in getSamplesPerFrame() function
203 int numFloats = kDefaultBlockSize * getSamplesPerFrame(); in setValue()
217 assert(getSamplesPerFrame() == port->getSamplesPerFrame()); in connect()
DSinkFloat.cpp30 int32_t channelCount = input.getSamplesPerFrame(); in read()
DClipToRange.cpp34 int32_t numSamples = framesToProcess * output.getSamplesPerFrame(); in onProcess()
DMonoToMultiConverter.cpp36 int32_t channelCount = output.getSamplesPerFrame(); in onProcess()
DSourceFloat.cpp31 int32_t channelCount = output.getSamplesPerFrame(); in onProcess()
DSourceI16.cpp35 int32_t channelCount = output.getSamplesPerFrame(); in onProcess()
DSinkI16.cpp34 const int32_t channelCount = input.getSamplesPerFrame(); in read()
DSourceI24.cpp37 int32_t channelCount = output.getSamplesPerFrame(); in onProcess()
DSinkI24.cpp35 const int32_t channelCount = input.getSamplesPerFrame(); in read()
DAudioProcessorBase.cpp39 int32_t numFloats = framesPerBlock * getSamplesPerFrame(); in AudioFloatBlockPort()
DRampLinear.cpp50 int32_t channelCount = output.getSamplesPerFrame(); in onProcess()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsb20ASFormatIIEx.java45 public int getSamplesPerFrame() { in getSamplesPerFrame() method in Usb20ASFormatIIEx
73 canvas.writeListItem("Samples Per Frame: " + getSamplesPerFrame()); in report()
DUsb10ASFormatII.java49 public int getSamplesPerFrame() { in getSamplesPerFrame() method in Usb10ASFormatII
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp64 int32_t samplesPerFrame = (getSamplesPerFrame() == AAUDIO_UNSPECIFIED) in open()
65 ? 2 : getSamplesPerFrame(); in open()
231 int32_t numSamples = mFormatConversionBufferSizeInFrames * getSamplesPerFrame(); in open()
237 int32_t numSamples = mFormatConversionBufferSizeInFrames * getSamplesPerFrame(); in open()
297 int32_t numSamples = numFrames * getSamplesPerFrame(); in maybeConvertDeviceData()
425 size_t numSamples = framesToConvert * getSamplesPerFrame(); in read()
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.h48 int32_t getSamplesPerFrame() const { in getSamplesPerFrame() function
135 return getSamplesPerFrame() * audio_bytes_per_sample(getFormat()); in calculateBytesPerFrame()
DAudioStream.h191 aaudio_result_t getSamplesPerFrame() const { in getSamplesPerFrame() function
255 return getSamplesPerFrame() * audio_bytes_per_sample(getDeviceFormat()); in getBytesPerDeviceFrame()
DAudioStreamBuilder.cpp248 getSampleRate(), getSamplesPerFrame(), getFormat(), in logParameters()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp112 request.getConfiguration().setSamplesPerFrame(getSamplesPerFrame()); in open()
122 mDeviceChannelCount = getSamplesPerFrame(); // Assume it will be the same. Update if not. in open()
126 && request.getConfiguration().getSamplesPerFrame() == 1 // mono? in open()
146 if (getSamplesPerFrame() == AAUDIO_UNSPECIFIED) { in open()
147 setSamplesPerFrame(configurationOutput.getSamplesPerFrame()); in open()
149 mDeviceChannelCount = configurationOutput.getSamplesPerFrame(); in open()
/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor_callback.cpp63 printf("recorder.getSamplesPerFrame() = %d\n", recorder.getSamplesPerFrame()); in main()
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.cpp48 status = parcel->writeInt32(getSamplesPerFrame()); in writeToParcel()

12