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