Searched defs:old_value (Results 1 - 1 of 1) sorted by relevance

/system/media/audio_route/
H A Daudio_route.c38 int *old_value; member in struct:mixer_state
499 ar->mixer_state[i].old_value = malloc(num_values * sizeof(int));
504 ar->mixer_state[i].old_value[0] = mixer_ctl_get_value(ctl, 0);
506 mixer_ctl_get_array(ctl, ar->mixer_state[i].old_value, num_values);
507 memcpy(ar->mixer_state[i].new_value, ar->mixer_state[i].old_value,
524 free(ar->mixer_state[i].old_value);
554 if (ar->mixer_state[i].old_value[j] != ar->mixer_state[i].new_value[j]) {
564 memcpy(ar->mixer_state[i].old_value, ar->mixer_state[i].new_value,
686 if (ms->old_value[j] != ms->new_value[j]) {
691 memcpy(ms->old_value, m
[all...]

Completed in 5 milliseconds