Home
last modified time | relevance | path

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

12

/frameworks/av/services/oboeservice/
DAAudioServiceStreamShared.cpp167 setSamplesPerFrame(configurationInput.getSamplesPerFrame()); in open()
168 if (getSamplesPerFrame() == AAUDIO_UNSPECIFIED) { in open()
169 setSamplesPerFrame(endpoint->getSamplesPerFrame()); in open()
170 } else if (getSamplesPerFrame() != endpoint->getSamplesPerFrame()) { in open()
172 __func__, getSamplesPerFrame(), endpoint->getSamplesPerFrame()); in open()
DAAudioServiceEndpoint.cpp61 result << " Channel Count: " << getSamplesPerFrame() << "\n"; in dump()
163 if (configuration.getSamplesPerFrame() != AAUDIO_UNSPECIFIED && in matches()
164 configuration.getSamplesPerFrame() != getSamplesPerFrame()) { in matches()
DAAudioServiceEndpointPlay.cpp51 mMixer.allocate(getStreamInternal()->getSamplesPerFrame(), in open()
DAAudioServiceEndpointMMAP.cpp129 int32_t aaudioSamplesPerFrame = getSamplesPerFrame(); in openWithFormat()
252 __func__, getSampleRate(), getSamplesPerFrame(), deviceId, getBufferCapacity()); in openWithFormat()
/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()
DSinkI32.cpp32 const int32_t channelCount = input.getSamplesPerFrame(); in read()
DSourceI32.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.cpp34 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.cpp68 int32_t samplesPerFrame = (getSamplesPerFrame() == AAUDIO_UNSPECIFIED) in open()
69 ? 2 : getSamplesPerFrame(); in open()
258 int32_t numSamples = mFormatConversionBufferSizeInFrames * getSamplesPerFrame(); in open()
264 int32_t numSamples = mFormatConversionBufferSizeInFrames * getSamplesPerFrame(); in open()
342 int32_t numSamples = numFrames * getSamplesPerFrame(); in maybeConvertDeviceData()
474 size_t numSamples = framesToConvert * getSamplesPerFrame(); in read()
DAudioStreamTrack.cpp71 int32_t samplesPerFrame = (getSamplesPerFrame() == AAUDIO_UNSPECIFIED) in open()
72 ? 2 : getSamplesPerFrame(); in open()
296 if (mAudioTrack->channelCount() != getSamplesPerFrame() in processCallback()
/frameworks/av/media/libaaudio/src/core/
DAAudioStreamParameters.h48 int32_t getSamplesPerFrame() const { in getSamplesPerFrame() function
160 return getSamplesPerFrame() * audio_bytes_per_sample(getFormat()); in calculateBytesPerFrame()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp126 request.getConfiguration().setSamplesPerFrame(getSamplesPerFrame()); in open()
137 mDeviceChannelCount = getSamplesPerFrame(); // Assume it will be the same. Update if not. in open()
141 && request.getConfiguration().getSamplesPerFrame() == 1 // mono? in open()
177 if (getSamplesPerFrame() == AAUDIO_UNSPECIFIED) { in open()
178 setSamplesPerFrame(configurationOutput.getSamplesPerFrame()); in open()
180 mDeviceChannelCount = configurationOutput.getSamplesPerFrame(); in open()
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamConfiguration.cpp66 result.samplesPerFrame = getSamplesPerFrame(); in parcelable()
/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor_callback.cpp63 printf("recorder.getSamplesPerFrame() = %d\n", recorder.getSamplesPerFrame()); in main()

12