Home
last modified time | relevance | path

Searched refs:inputChannelMask (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/java/android/media/audiofx/
DVirtualizer.java183 private boolean getAnglesInt(int inputChannelMask, int deviceType, int[] angles) in getAnglesInt() argument
186 if (inputChannelMask == AudioFormat.CHANNEL_INVALID) { in getAnglesInt()
190 int channelMask = inputChannelMask == AudioFormat.CHANNEL_OUT_DEFAULT ? in getAnglesInt()
191 AudioFormat.CHANNEL_OUT_STEREO : inputChannelMask; in getAnglesInt()
214 Log.v(TAG, "getAngles(0x" + Integer.toHexString(inputChannelMask) + ", 0x" in getAnglesInt()
375 public boolean canVirtualize(int inputChannelMask, @VirtualizationMode int virtualizationMode) in canVirtualize() argument
377 return getAnglesInt(inputChannelMask, getDeviceForModeQuery(virtualizationMode), null); in canVirtualize()
410 public boolean getSpeakerAngles(int inputChannelMask, in getSpeakerAngles() argument
418 return getAnglesInt(inputChannelMask, getDeviceForModeQuery(virtualizationMode), angles); in getSpeakerAngles()
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp144 audio_channel_mask_t inputChannelMask, in DownmixerBufferProvider() argument
148 audio_bytes_per_sample(format) * audio_channel_count_from_out_mask(inputChannelMask), in DownmixerBufferProvider()
153 this, inputChannelMask, outputChannelMask, format, in DownmixerBufferProvider()
175 mDownmixConfig.inputCfg.channels = inputChannelMask; // FIXME: Should be bits in DownmixerBufferProvider()
190 audio_bytes_per_sample(format) * audio_channel_count_from_out_mask(inputChannelMask); in DownmixerBufferProvider()
340 RemixBufferProvider::RemixBufferProvider(audio_channel_mask_t inputChannelMask, in RemixBufferProvider() argument
345 * audio_channel_count_from_out_mask(inputChannelMask), in RemixBufferProvider()
351 mInputChannels(audio_channel_count_from_out_mask(inputChannelMask)), in RemixBufferProvider()
355 this, format, inputChannelMask, outputChannelMask, in RemixBufferProvider()
358 mIdxAry, ARRAY_SIZE(mIdxAry), outputChannelMask, inputChannelMask); in RemixBufferProvider()
/frameworks/av/media/libaudioprocessing/include/media/
DBufferProviders.h103 DownmixerBufferProvider(audio_channel_mask_t inputChannelMask,
136 RemixBufferProvider(audio_channel_mask_t inputChannelMask,