Home
last modified time | relevance | path

Searched refs:sourceFormat (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libaaudio/src/client/
DAAudioFlowGraph.cpp35 aaudio_result_t AAudioFlowGraph::configure(audio_format_t sourceFormat, in configure() argument
42 __func__, sourceFormat, sourceChannelCount, sinkFormat, sinkChannelCount); in configure()
44 switch (sourceFormat) { in configure()
55 ALOGE("%s() Unsupported source format = %d", __func__, sourceFormat); in configure()
67 if (sourceFormat == AUDIO_FORMAT_PCM_FLOAT && sinkFormat == AUDIO_FORMAT_PCM_FLOAT) { in configure()
DAudioStreamInternalCapture.cpp184 const audio_format_t sourceFormat = getDeviceFormat(); in readNowWithConversion() local
187 if (sourceFormat == destinationFormat) { in readNowWithConversion()
189 } else if (sourceFormat == AUDIO_FORMAT_PCM_16_BIT in readNowWithConversion()
195 } else if (sourceFormat == AUDIO_FORMAT_PCM_FLOAT in readNowWithConversion()
203 __func__, sourceFormat, destinationFormat); in readNowWithConversion()
DAAudioFlowGraph.h41 aaudio_result_t configure(audio_format_t sourceFormat,
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterGraph.java242 FrameFormat sourceFormat = inputPort.getSourceFormat(); in runTypeCheckOn() local
244 if (sourceFormat != null && targetFormat != null) { in runTypeCheckOn()
245 … if (mLogVerbose) Log.v(TAG, "Checking " + sourceFormat + " against " + targetFormat + "."); in runTypeCheckOn()
253 compatible = sourceFormat.mayBeCompatibleWith(targetFormat); in runTypeCheckOn()
257 compatible = sourceFormat.isCompatibleWith(targetFormat); in runTypeCheckOn()
265 + sourceFormat + "!"); in runTypeCheckOn()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java1014 int sourceFormat = AudioFormat.ENCODING_DEFAULT; in updateAudioConfigLocked() local
1016 sourceFormat = sinkConfig.format(); in updateAudioConfigLocked()
1019 sourceFormat, sourceGainConfig); in updateAudioConfigLocked()