• Home
  • Raw
  • Download

Lines Matching refs:old_value

51     union ctl_values old_value;  member
675 ar->mixer_state[i].old_value.ptr = calloc(num_values, value_sz); in alloc_mixer_state()
680 ar->mixer_state[i].old_value.enumerated[0] = mixer_ctl_get_value(ctl, 0); in alloc_mixer_state()
682 mixer_ctl_get_array(ctl, ar->mixer_state[i].old_value.ptr, num_values); in alloc_mixer_state()
684 memcpy(ar->mixer_state[i].new_value.ptr, ar->mixer_state[i].old_value.ptr, in alloc_mixer_state()
701 free(ar->mixer_state[i].old_value.ptr); in free_mixer_state()
732 … if (ar->mixer_state[i].old_value.bytes[j] != ar->mixer_state[i].new_value.bytes[j]) { in audio_route_update_mixer()
739 if (ar->mixer_state[i].old_value.enumerated[j] in audio_route_update_mixer()
747 … if (ar->mixer_state[i].old_value.integer[j] != ar->mixer_state[i].new_value.integer[j]) { in audio_route_update_mixer()
760 memcpy(ar->mixer_state[i].old_value.ptr, ar->mixer_state[i].new_value.ptr, in audio_route_update_mixer()
893 if (ms->old_value.bytes[j] != ms->new_value.bytes[j]) { in audio_route_update_path()
898 memcpy(ms->new_value.bytes, ms->old_value.bytes, in audio_route_update_path()
903 memcpy(ms->old_value.bytes, ms->new_value.bytes, ms->num_values * value_sz); in audio_route_update_path()
907 if (ms->old_value.enumerated[j] != ms->new_value.enumerated[j]) { in audio_route_update_path()
912 memcpy(ms->new_value.enumerated, ms->old_value.enumerated, in audio_route_update_path()
917 memcpy(ms->old_value.enumerated, ms->new_value.enumerated, in audio_route_update_path()
921 } else if (ms->old_value.integer[j] != ms->new_value.integer[j]) { in audio_route_update_path()
926 memcpy(ms->new_value.integer, ms->old_value.integer, in audio_route_update_path()
931 memcpy(ms->old_value.integer, ms->new_value.integer, ms->num_values * value_sz); in audio_route_update_path()