Lines Matching refs:open
1 /* Copyright (C) 2008 The Android Open Source Project
46 afd = open("/dev/msm_pcm_out", O_RDWR);
48 perror("pcm_play: cannot open audio device");
156 fd = open(fn, O_RDONLY);
158 fprintf(stderr, "playwav: cannot open '%s'\n", fn);
215 fd = open(fn, O_CREAT | O_RDWR, 0666);
217 perror("cannot open output file");
222 afd = open("/dev/msm_pcm_in", O_RDWR);
224 perror("cannot open msm_pcm_in");
301 fd = open(fn, O_RDONLY);
303 perror("cannot open mp3 file");
307 afd = open("/dev/msm_mp3", O_RDWR);
310 perror("cannot open mp3 output device");