Home
last modified time | relevance | path

Searched refs:card_id (Results 1 – 3 of 3) sorted by relevance

/external/autotest/client/cros/audio/
Dalsa_utils.py46 card_id = None
51 card_id = int(match.group(1))
52 if card_id is None:
55 return card_id + 1
58 def _get_soundcard_controls(card_id): argument
75 cmd = AMIXER_PATH + ' -c %d controls' % card_id
91 def _get_soundcard_scontrols(card_id): argument
108 cmd = AMIXER_PATH + ' -c %d scontrols' % card_id
131 for card_id in xrange(get_num_soundcards()):
134 if any(pat.search(c) for c in func(card_id)):
[all …]
Daudio_helper.py922 card_id = alsa_utils.get_first_soundcard_with_control('Mic Jack', 'Mic')
928 alsa_utils.mixer_cmd(card_id,
930 alsa_utils.mixer_cmd(card_id, 'sset MIC1 ' + _DEFAULT_ALSA_MAX_VOLUME)
931 alsa_utils.mixer_cmd(card_id, 'sset MIC2 ' + _DEFAULT_ALSA_MAX_VOLUME)
934 alsa_utils.mixer_cmd(card_id,
936 alsa_utils.mixer_cmd(card_id, 'sset MIC1 ' + _DEFAULT_ALSA_CAPTURE_GAIN)
937 alsa_utils.mixer_cmd(card_id, 'sset MIC2 ' + _DEFAULT_ALSA_CAPTURE_GAIN)
940 alsa_utils.mixer_cmd(card_id, 'sset Master ' + _DEFAULT_ALSA_MAX_VOLUME)
941 alsa_utils.mixer_cmd(card_id,
/external/kernel-headers/original/uapi/misc/
Dcxl.h47 __u32 card_id; member