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