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()
374 public boolean canVirtualize(int inputChannelMask, @VirtualizationMode int virtualizationMode) in canVirtualize() argument
376 return getAnglesInt(inputChannelMask, getDeviceForModeQuery(virtualizationMode), null); in canVirtualize()
409 public boolean getSpeakerAngles(int inputChannelMask, in getSpeakerAngles() argument
417 return getAnglesInt(inputChannelMask, getDeviceForModeQuery(virtualizationMode), angles); in getSpeakerAngles()
/frameworks/av/services/audioflinger/
DBufferProviders.cpp138 audio_channel_mask_t inputChannelMask, in DownmixerBufferProvider() argument
142 audio_bytes_per_sample(format) * audio_channel_count_from_out_mask(inputChannelMask), in DownmixerBufferProvider()
147 this, inputChannelMask, outputChannelMask, format, in DownmixerBufferProvider()
159 mDownmixConfig.inputCfg.channels = inputChannelMask; // FIXME: Should be bits in DownmixerBufferProvider()
278 RemixBufferProvider::RemixBufferProvider(audio_channel_mask_t inputChannelMask, in RemixBufferProvider() argument
283 * audio_channel_count_from_out_mask(inputChannelMask), in RemixBufferProvider()
289 mInputChannels(audio_channel_count_from_out_mask(inputChannelMask)), in RemixBufferProvider()
293 this, format, inputChannelMask, outputChannelMask, in RemixBufferProvider()
296 mIdxAry, ARRAY_SIZE(mIdxAry), outputChannelMask, inputChannelMask); in RemixBufferProvider()
DBufferProviders.h93 DownmixerBufferProvider(audio_channel_mask_t inputChannelMask,
121 RemixBufferProvider(audio_channel_mask_t inputChannelMask,