Home | History | Annotate | Download | only in libalsa-intf

Lines Matching refs:dname

758     char dname[19];
784 strlcpy(dname, "/dev/snd/pcmC", sizeof(dname));
786 strlcat(dname, tmp, (2+strlen(dname))) ;
788 strlcat(dname, "D", (sizeof("D")+strlen(dname)));
793 strlcat(dname, tmp, (3+strlen(dname)));
795 strlcat(dname, tmp, (2+strlen(dname)));
796 strlcat(dname, "c", (sizeof("c")+strlen(dname)));
798 strlcpy(dname, "/dev/snd/pcmC", sizeof(dname));
800 strlcat(dname, tmp, (2+strlen(dname))) ;
802 strlcat(dname, "D", (sizeof("D")+strlen(dname)));
807 strlcat(dname, tmp, (3+strlen(dname)));
809 strlcat(dname, tmp, (2+strlen(dname)));
810 strlcat(dname, "p", (sizeof("p")+strlen(dname)));
813 ALOGV("Device name %s\n", dname);
822 pcm->fd = open(dname, O_RDWR|O_NONBLOCK);
826 ALOGE("cannot open device '%s', errno %d", dname, errno);
843 ALOGV("pcm_open() %s\n", dname);
845 ALOGE("cannot get info - %s", dname);