Lines Matching refs:channelMask
66 bool AudioMixer::isValidChannelMask(audio_channel_mask_t channelMask) const { in isValidChannelMask()
67 return audio_channel_mask_is_valid(channelMask); // the RemixBufferProvider is flexible. in isValidChannelMask()
78 if (trackChannelMask == (track->channelMask | track->mHapticChannelMask) in setChannelMasks()
96 track->channelMask = trackChannelMask; in setChannelMasks()
124 status, track->channelMask, track->mMixerChannelMask); in setChannelMasks()
160 this, channelMask); in prepareForDownmix()
166 if (channelMask == mMixerChannelMask in prepareForDownmix()
167 || (channelMask == AUDIO_CHANNEL_OUT_MONO in prepareForDownmix()
172 if (audio_channel_mask_get_representation(channelMask) in prepareForDownmix()
179 channelMask, mMixerChannelMask, in prepareForDownmix()
193 mDownmixerBufferProvider.reset(new RemixBufferProvider(channelMask, in prepareForDownmix()
227 audio_channel_count_from_out_mask(channelMask), in prepareForReformat()
237 audio_channel_count_from_out_mask(channelMask), in prepareForReformat()
410 if (setChannelMasks(name, track->channelMask | track->mHapticChannelMask, in setParameter()
535 audio_channel_mask_t channelMask = t->channelMask; in postCreateTrack() local
536 t->mHapticChannelMask = channelMask & AUDIO_CHANNEL_HAPTIC_ALL; in postCreateTrack()
538 channelMask &= ~AUDIO_CHANNEL_HAPTIC_ALL; in postCreateTrack()
539 t->channelCount = audio_channel_count_from_out_mask(channelMask); in postCreateTrack()
540 ALOGV_IF(audio_channel_mask_get_bits(channelMask) != AUDIO_CHANNEL_OUT_STEREO, in postCreateTrack()
541 "Non-stereo channel mask: %d\n", channelMask); in postCreateTrack()
542 t->channelMask = channelMask; in postCreateTrack()
559 ALOGE("AudioMixer::getTrackName invalid channelMask (%#x)", channelMask); in postCreateTrack()