Searched refs:channelMasks (Results 1 – 10 of 10) sorted by relevance
71 static vector<AudioConfig> combineAudioConfig(vector<audio_channel_mask_t> channelMasks, in combineAudioConfig()75 configs.reserve(channelMasks.size() * sampleRates.size()); in combineAudioConfig()76 for (auto channelMask : channelMasks) { in combineAudioConfig()89 static vector<AudioConfig> combineAudioConfig(vector<AudioChannelMask> channelMasks, in combineAudioConfig()93 configs.reserve(channelMasks.size() * sampleRates.size() * formats.size()); in combineAudioConfig()94 for (auto channelMask : channelMasks) { in combineAudioConfig()
1119 &GetSupported::channelMasks, &IStream::getChannelMask,
127 hidl_vec<AudioChannelBitfield> channelMasks; in getSupportedChannelMasks() local132 channelMasks.resize(halChannelMasks.size()); in getSupportedChannelMasks()135 channelMasks[i++] = AudioChannelBitfield(channelMask); in getSupportedChannelMasks()139 if (channelMasks.size() == 0) { in getSupportedChannelMasks()144 _hidl_cb(channelMasks); in getSupportedChannelMasks()146 _hidl_cb(result, channelMasks); in getSupportedChannelMasks()
245 port->channelMasks.resize(halPort.num_channel_masks); in audioPortFromHal()247 port->channelMasks[i] = EnumBitfield<AudioChannelMask>(halPort.channel_masks[i]); in audioPortFromHal()294 std::min(port.channelMasks.size(), static_cast<size_t>(AUDIO_PORT_MAX_CHANNEL_MASKS)); in audioPortToHal()296 halPort->channel_masks[i] = static_cast<audio_channel_mask_t>(port.channelMasks[i]); in audioPortToHal()
59 static Result channelMasks(IStream* stream, hidl_vec<AudioChannelMask>& channels) { in channelMasks() function
71 static Result channelMasks(IStream* stream, in channelMasks() function
888 vec<bitfield<AudioChannelMask>> channelMasks;
927 vec<AudioChannelMask> channelMasks;
1023 vec<bitfield<AudioChannelMask>> channelMasks;
1017 vec<bitfield<AudioChannelMask>> channelMasks;