Lines Matching refs:dname
754 char dname[19]; in pcm_open() local
780 strlcpy(dname, "/dev/snd/pcmC", sizeof(dname)); in pcm_open()
782 strlcat(dname, tmp, (2+strlen(dname))) ; in pcm_open()
784 strlcat(dname, "D", (sizeof("D")+strlen(dname))); in pcm_open()
789 strlcat(dname, tmp, (3+strlen(dname))); in pcm_open()
791 strlcat(dname, tmp, (2+strlen(dname))); in pcm_open()
792 strlcat(dname, "c", (sizeof("c")+strlen(dname))); in pcm_open()
794 strlcpy(dname, "/dev/snd/pcmC", sizeof(dname)); in pcm_open()
796 strlcat(dname, tmp, (2+strlen(dname))) ; in pcm_open()
798 strlcat(dname, "D", (sizeof("D")+strlen(dname))); in pcm_open()
803 strlcat(dname, tmp, (3+strlen(dname))); in pcm_open()
805 strlcat(dname, tmp, (2+strlen(dname))); in pcm_open()
806 strlcat(dname, "p", (sizeof("p")+strlen(dname))); in pcm_open()
809 ALOGV("Device name %s\n", dname); in pcm_open()
818 pcm->fd = open(dname, O_RDWR|O_NONBLOCK); in pcm_open()
822 ALOGE("cannot open device '%s', errno %d", dname, errno); in pcm_open()
839 ALOGV("pcm_open() %s\n", dname); in pcm_open()
841 ALOGE("cannot get info - %s", dname); in pcm_open()