Lines Matching refs:ch
472 int play_raw(const char *fg, int rate, int ch, const char *device, const char *fn) in play_raw() argument
494 fn, get_format_desc(format), ch ); in play_raw()
495 return play_file(rate, ch, fd, flag, device, 0); in play_raw()
498 int play_wav(const char *fg, int rate, int ch, const char *device, const char *fn) in play_wav() argument
517 hdr.num_channels = ch; in play_wav()
545 hdr.num_channels = ch; in play_wav()
563 int ch = 2; in main() local
608 ch = (int)strtol(optarg, NULL, 0); in main()
658 rc = play_wav(mmap, rate, ch, device, filename); in main()
660 rc = play_raw(mmap, rate, ch, device, filename); in main()
662 rc = play_wav(mmap, rate, ch, device, "dummy"); in main()