Lines Matching defs:info

78 static int snd_ctl_ext_card_info(snd_ctl_t *handle, snd_ctl_card_info_t *info)
82 memset(info, 0, sizeof(*info));
83 info->card = ext->card_idx;
84 memcpy(info->id, ext->id, sizeof(info->id));
85 memcpy(info->driver, ext->driver, sizeof(info->driver));
86 memcpy(info->name, ext->name, sizeof(info->name));
87 memcpy(info->longname, ext->longname, sizeof(info->longname));
88 memcpy(info->mixername, ext->mixername, sizeof(info->mixername));
129 static int snd_ctl_ext_elem_info(snd_ctl_t *handle, snd_ctl_elem_info_t *info)
135 key = get_elem(ext, &info->id);
138 ret = ext->callback->get_attribute(ext, key, &type, &info->access, &info->count);
141 info->type = type;
143 switch (info->type) {
145 info->value.integer.min = 0;
146 info->value.integer.max = 1;
152 ret = ext->callback->get_integer_info(ext, key, &info->value.integer.min,
153 &info->value.integer.max,
154 &info->value.integer.step);
165 info->value.integer64.min = xmin;
166 info->value.integer64.max = xmax;
167 info->value.integer64.step = xstep;
173 ret = ext->callback->get_enumerated_info(ext, key, &info->value.enumerated.items);
174 ext->callback->get_enumerated_name(ext, key, info->value.enumerated.item,
175 info->value.enumerated.name,
176 sizeof(info->value.enumerated.name));
191 snd_ctl_elem_info_t *info ATTRIBUTE_UNUSED)
197 snd_ctl_elem_info_t *info ATTRIBUTE_UNUSED)
385 snd_hwdep_info_t *info ATTRIBUTE_UNUSED)
391 snd_pcm_info_t *info ATTRIBUTE_UNUSED)
397 snd_rawmidi_info_t *info ATTRIBUTE_UNUSED)
674 info callback since it's obvious). These callbacks return 0 if successful, or