Home
last modified time | relevance | path

Searched refs:num_channel_masks (Results 1 – 2 of 2) sorted by relevance

/system/media/audio/include/system/
Daudio.h653 unsigned int num_channel_masks; /* number of channel masks in following array */ member
688 unsigned int num_channel_masks; /* number of channel masks in following array */ member
738 portV7->audio_profiles[i].num_channel_masks = port->num_channel_masks; in audio_populate_audio_port_v7()
740 port->num_channel_masks * sizeof(audio_channel_mask_t)); in audio_populate_audio_port_v7()
766 port->num_channel_masks = 0; in audio_populate_audio_port()
785 for (size_t j = 0; j < portV7->audio_profiles[i].num_channel_masks; ++j) { in audio_populate_audio_port()
787 for (; k < port->num_channel_masks; ++k) { in audio_populate_audio_port()
792 if (k == port->num_channel_masks) { in audio_populate_audio_port()
793 if (port->num_channel_masks >= AUDIO_PORT_MAX_CHANNEL_MASKS) { in audio_populate_audio_port()
797 port->channel_masks[port->num_channel_masks++] = in audio_populate_audio_port()
[all …]
/system/media/tests/
Dsystemaudio_tests.cpp551 audioPort->num_channel_masks = AUDIO_PORT_MAX_CHANNEL_MASKS; in fillFakeAudioPortInfo()
554 std::copy(channelMasks, channelMasks+audioPort->num_channel_masks, in fillFakeAudioPortInfo()
573 portV7->audio_profiles[i].num_channel_masks = AUDIO_PORT_MAX_CHANNEL_MASKS; in fillFakeAudioPortV7Info()
576 std::copy(channelMasks, channelMasks+portV7->audio_profiles[i].num_channel_masks, in fillFakeAudioPortV7Info()
710 testAudioPortCapabilityArraysEquivalent(lhs.channel_masks, lhs.num_channel_masks, in TEST_P()
732 firstProfile.num_channel_masks, AUDIO_CHANNEL_NONE, in TEST_P()
754 ASSERT_EQ(profile.num_channel_masks, AUDIO_PORT_MAX_CHANNEL_MASKS); in TEST_P()