Home | History | Annotate | Download | only in sbc

Lines Matching refs:ad

52 	int fd, ad, pos, streamlen, framelen, count;
91 ad = open(output, O_WRONLY | O_CREAT | O_TRUNC, 0644);
93 ad = open(output, O_WRONLY, 0);
95 if (ad < 0) {
146 written = write(ad, &au_hdr, sizeof(au_hdr));
152 if (ioctl(ad, SNDCTL_DSP_SETFMT, &format) < 0) {
158 if (ioctl(ad, SNDCTL_DSP_CHANNELS, &channels) < 0) {
164 if (ioctl(ad, SNDCTL_DSP_SPEED, &frequency) < 0) {
181 written = write(ad, buf, count);
206 written = write(ad, buf, count);
214 close(ad);