Lines Matching defs:rate
38 int pcm_play(unsigned rate, unsigned channels,
60 config.sample_rate = rate;
137 void play_file(unsigned rate, unsigned channels,
150 pcm_play(rate, channels, fill_buffer, 0);
156 unsigned rate, channels;
193 int wav_rec(const char *fn, unsigned channels, unsigned rate)
210 hdr.sample_rate = rate;
336 unsigned rate = 44100;
349 } else if (!strcmp(argv[0],"-rate")) {
353 fprintf(stderr,"playwav: -rate requires a parameter\n");
356 rate = atoi(argv[0]);
376 return wav_rec(fn, channels, rate);