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/
DAudioMixer.h308 DownmixerBufferProvider(audio_channel_mask_t inputChannelMask,
335 RemixBufferProvider(audio_channel_mask_t inputChannelMask,
DAudioMixer.cpp187 audio_channel_mask_t inputChannelMask, in DownmixerBufferProvider() argument
191 audio_bytes_per_sample(format) * audio_channel_count_from_out_mask(inputChannelMask), in DownmixerBufferProvider()
196 this, inputChannelMask, outputChannelMask, format, in DownmixerBufferProvider()
208 mDownmixConfig.inputCfg.channels = inputChannelMask; // FIXME: Should be bits in DownmixerBufferProvider()
327 AudioMixer::RemixBufferProvider::RemixBufferProvider(audio_channel_mask_t inputChannelMask, in RemixBufferProvider() argument
332 * audio_channel_count_from_out_mask(inputChannelMask), in RemixBufferProvider()
338 mInputChannels(audio_channel_count_from_out_mask(inputChannelMask)), in RemixBufferProvider()
342 this, format, inputChannelMask, outputChannelMask, in RemixBufferProvider()
348 audio_channel_mask_get_bits(inputChannelMask)); in RemixBufferProvider()