Lines Matching defs:ival
1315 int ival = get_enum_item_index(elem, &ptr);
1316 if (ival < 0)
1318 if (snd_mixer_selem_set_enum_item(elem, item++, ival) >= 0)
1349 int ival;
1357 snd_mixer_selem_get_playback_switch(elem, chn, &ival);
1358 if (snd_mixer_selem_set_playback_switch(elem, chn, get_bool_simple(&ptr, "mute", 1, ival)) >= 0)
1361 snd_mixer_selem_get_playback_switch(elem, chn, &ival);
1362 if (snd_mixer_selem_set_playback_switch(elem, chn, get_bool_simple(&ptr, "off", 1, ival)) >= 0)
1365 snd_mixer_selem_get_playback_switch(elem, chn, &ival);
1366 if (snd_mixer_selem_set_playback_switch(elem, chn, get_bool_simple(&ptr, "unmute", 0, ival)) >= 0)
1369 snd_mixer_selem_get_playback_switch(elem, chn, &ival);
1370 if (snd_mixer_selem_set_playback_switch(elem, chn, get_bool_simple(&ptr, "on", 0, ival)) >= 0)
1374 snd_mixer_selem_get_playback_switch(elem, chn, &ival);
1375 if (snd_mixer_selem_set_playback_switch(elem, chn, (ival ? 1 : 0) ^ 1) >= 0)
1394 snd_mixer_selem_get_capture_switch(elem, chn, &ival);
1395 if (snd_mixer_selem_set_capture_switch(elem, chn, get_bool_simple(&ptr, "cap", 0, ival)) >= 0)
1398 snd_mixer_selem_get_capture_switch(elem, chn, &ival);
1399 if (snd_mixer_selem_set_capture_switch(elem, chn, get_bool_simple(&ptr, "rec", 0, ival)) >= 0)
1402 snd_mixer_selem_get_capture_switch(elem, chn, &ival);
1403 if (snd_mixer_selem_set_capture_switch(elem, chn, get_bool_simple(&ptr, "nocap", 1, ival)) >= 0)
1406 snd_mixer_selem_get_capture_switch(elem, chn, &ival);
1407 if (snd_mixer_selem_set_capture_switch(elem, chn, get_bool_simple(&ptr, "norec", 1, ival)) >= 0)
1411 snd_mixer_selem_get_capture_switch(elem, chn, &ival);
1412 if (snd_mixer_selem_set_capture_switch(elem, chn, (ival ? 1 : 0) ^ 1) >= 0)