Home
last modified time | relevance | path

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

/system/media/audio/include/system/
Daudio.h657 unsigned int num_gains; /* number of gains in following array */ member
705 unsigned int num_gains; /* number of gains in following array */ member
742 portV7->num_gains = port->num_gains; in audio_populate_audio_port_v7()
743 memcpy(portV7->gains, port->gains, port->num_gains * sizeof(struct audio_gain)); in audio_populate_audio_port_v7()
802 port->num_gains = portV7->num_gains; in audio_populate_audio_port()
803 memcpy(port->gains, portV7->gains, port->num_gains * sizeof(struct audio_gain)); in audio_populate_audio_port()
936 lhs->num_gains != rhs->num_gains) { in audio_ports_base_are_equal()
971 lhs->gains, lhs->num_gains, rhs->gains, rhs->num_gains) || in audio_ports_base_are_equal()
973 rhs->gains, rhs->num_gains, lhs->gains, lhs->num_gains)) { in audio_ports_base_are_equal()
/system/media/tests/
Dsystemaudio_tests.cpp355 port->num_gains = AUDIO_PORT_MAX_GAINS; in fillFakeAudioPortBaseInfo()
356 for (size_t i = 0; i < port->num_gains; ++i) { in fillFakeAudioPortBaseInfo()
436 updateFieldAndCompare(rhs->num_gains + 1, &T::num_gains, lhs, rhs, p); in testAudioPortEquivalent()