Lines Matching refs:fn
472 int play_raw(const char *fg, int rate, int ch, const char *device, const char *fn)
477 if(!fn) {
481 fd = open(fn, O_RDONLY);
483 fprintf(stderr, "Aplay:aplay: cannot open '%s'\n", fn);
494 fn
498 int play_wav(const char *fg, int rate, int ch, const char *device, const char *fn)
505 if(!fn) {
509 fd = open(fn, O_RDONLY);
511 fprintf(stderr, "Aplay:aplay: cannot open '%s'\n", fn);
530 fprintf(stderr, "Aplay:aplay: '%s' is not a riff/wave file\n", fn);
535 fprintf(stderr, "Aplay:aplay: '%s' is not pcm format\n", fn);
539 fprintf(stderr, "Aplay:aplay: '%s' is not 16bit per sample\n", fn);
554 fprintf(stderr, "aplay: Playing '%s':%s\n", fn, get_format_desc(format) );