• Home
  • Raw
  • Download

Lines Matching refs:new_value

52     union ctl_values new_value;  member
412 memcpy(ar->mixer_state[ctl_index].new_value.ptr, path->setting[i].value.ptr, in path_apply()
435 memcpy(ar->mixer_state[ctl_index].new_value.ptr, in path_reset()
593 ar->mixer_state[ctl_index].new_value.bytes[id] = value_array[0]; in start_tag()
595 ar->mixer_state[ctl_index].new_value.integer[id] = value_array[0]; in start_tag()
597 ar->mixer_state[ctl_index].new_value.enumerated[id] = value; in start_tag()
599 ar->mixer_state[ctl_index].new_value.integer[id] = value; in start_tag()
607 ar->mixer_state[ctl_index].new_value.bytes[i] = value_array[i]; in start_tag()
609 ar->mixer_state[ctl_index].new_value.integer[i] = value_array[i]; in start_tag()
611 ar->mixer_state[ctl_index].new_value.enumerated[i] = value; in start_tag()
613 ar->mixer_state[ctl_index].new_value.integer[i] = value; in start_tag()
676 ar->mixer_state[i].new_value.ptr = calloc(num_values, value_sz); in alloc_mixer_state()
684 memcpy(ar->mixer_state[i].new_value.ptr, ar->mixer_state[i].old_value.ptr, in alloc_mixer_state()
702 free(ar->mixer_state[i].new_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()
740 != ar->mixer_state[i].new_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()
755 mixer_ctl_set_value(ctl, 0, ar->mixer_state[i].new_value.enumerated[0]); in audio_route_update_mixer()
757 mixer_ctl_set_array(ctl, ar->mixer_state[i].new_value.ptr, num_values); 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()
780 memcpy(ar->mixer_state[i].reset_value.ptr, ar->mixer_state[i].new_value.ptr, in save_mixer_state()
798 memcpy(ar->mixer_state[i].new_value.ptr, ar->mixer_state[i].reset_value.ptr, in audio_route_reset()
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()
902 mixer_ctl_set_array(ms->ctl, ms->new_value.bytes, ms->num_values); 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()
916 mixer_ctl_set_value(ms->ctl, 0, ms->new_value.enumerated[0]); 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()
930 mixer_ctl_set_array(ms->ctl, ms->new_value.integer, ms->num_values); 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()