Lines Matching refs:channels
38 int pcm_play(unsigned rate, unsigned channels, in pcm_play() argument
59 config.channel_count = channels; in pcm_play()
137 void play_file(unsigned rate, unsigned channels, in play_file() argument
150 pcm_play(rate, channels, fill_buffer, 0); in play_file()
156 unsigned rate, channels; in wav_play() local
193 int wav_rec(const char *fn, unsigned channels, unsigned rate) in wav_rec() argument
209 hdr.num_channels = channels; in wav_rec()
335 unsigned channels = 1; in main() local
346 channels = 2; in main()
348 channels = 1; in main()
376 return wav_rec(fn, channels, rate); in main()