Home
last modified time | relevance | path

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

/system/media/tests/
Dsystemaudio_tests.cpp296 const struct audio_gain mGain = {
620 struct audio_gain lhs = mGain; in TEST_F()
621 struct audio_gain rhs = mGain; in TEST_F()
629 &audio_gain::channel_mask, &lhs, &rhs, audio_gains_are_equal); in TEST_F()
631 updateFieldAndCompare(rhs.min_value + 10, &audio_gain::min_value, in TEST_F()
633 updateFieldAndCompare(rhs.max_value + 10, &audio_gain::max_value, in TEST_F()
635 updateFieldAndCompare(rhs.default_value + 10, &audio_gain::default_value, in TEST_F()
637 updateFieldAndCompare(rhs.step_value + 10, &audio_gain::step_value, in TEST_F()
639 updateFieldAndCompare(rhs.min_ramp_ms + 10, &audio_gain::min_ramp_ms, in TEST_F()
641 updateFieldAndCompare(rhs.max_ramp_ms + 10, &audio_gain::max_ramp_ms, in TEST_F()
/system/media/audio/include/system/
Daudio.h467 struct audio_gain { struct
658 struct audio_gain gains[AUDIO_PORT_MAX_GAINS];
706 struct audio_gain gains[AUDIO_PORT_MAX_GAINS];
743 memcpy(portV7->gains, port->gains, port->num_gains * sizeof(struct audio_gain)); in audio_populate_audio_port_v7()
803 memcpy(port->gains, portV7->gains, port->num_gains * sizeof(struct audio_gain)); in audio_populate_audio_port()
890 static inline bool audio_gains_are_equal(const struct audio_gain* lhs, const struct audio_gain* rhs… in audio_gains_are_equal()
915 const struct audio_gain gains[], const size_t numGains, in audio_gain_array_contains_all_elements_from()
916 const struct audio_gain from[], size_t numFromGains) { in audio_gain_array_contains_all_elements_from()