Searched refs:card_id (Results 1 – 3 of 3) sorted by relevance
39 card_id = None44 card_id = int(match.group(1))45 if card_id is None:48 return card_id + 151 def _get_soundcard_controls(card_id): argument68 cmd = AMIXER_PATH + ' -c %d controls' % card_id84 def _get_soundcard_scontrols(card_id): argument101 cmd = AMIXER_PATH + ' -c %d scontrols' % card_id124 for card_id in xrange(get_num_soundcards()):127 if any(pat.search(c) for c in func(card_id)):[all …]
1019 card_id = alsa_utils.get_first_soundcard_with_control('Mic Jack', 'Mic')1025 alsa_utils.mixer_cmd(card_id,1027 alsa_utils.mixer_cmd(card_id, 'sset MIC1 ' + _DEFAULT_ALSA_MAX_VOLUME)1028 alsa_utils.mixer_cmd(card_id, 'sset MIC2 ' + _DEFAULT_ALSA_MAX_VOLUME)1031 alsa_utils.mixer_cmd(card_id,1033 alsa_utils.mixer_cmd(card_id, 'sset MIC1 ' + _DEFAULT_ALSA_CAPTURE_GAIN)1034 alsa_utils.mixer_cmd(card_id, 'sset MIC2 ' + _DEFAULT_ALSA_CAPTURE_GAIN)1037 alsa_utils.mixer_cmd(card_id, 'sset Master ' + _DEFAULT_ALSA_MAX_VOLUME)1038 alsa_utils.mixer_cmd(card_id,
47 __u32 card_id; member