Searched refs:xtlv (Results 1 - 1 of 1) sorted by relevance

/hardware/qcom/audio/legacy/libalsa-intf/
H A Dalsa_mixer.c320 struct snd_ctl_tlv *xtlv; local
323 xtlv = calloc(1, sizeof(struct snd_ctl_tlv) + tlv_size);
324 if (xtlv == NULL)
326 xtlv->numid = ctl->info->id.numid;
327 xtlv->length = tlv_size;
328 memcpy(xtlv->tlv, tlv, tlv_size);
329 if (ioctl(ctl->mixer->fd, SNDRV_CTL_IOCTL_TLV_READ, xtlv) < 0) {
331 free(xtlv);
334 if (xtlv->tlv[1] + 2 * sizeof(unsigned int) > tlv_size) {
335 free(xtlv);
[all...]

Completed in 59 milliseconds