Searched refs:wav_file (Results 1 - 1 of 1) sorted by relevance
/third_party/alsa-utils/speaker-test/ |
H A D | speaker-test.c | 670 static const char *wav_file[MAX_CHANNELS]; variable 719 wav_file[channel] = search_for_file(name); in check_wav_file() 720 if (! wav_file[channel]) { in check_wav_file() 725 if ((fd = open(wav_file[channel], O_RDONLY)) < 0) { in check_wav_file() 726 fprintf(stderr, _("Cannot open WAV file %s\n"), wav_file[channel]); in check_wav_file() 730 fprintf(stderr, _("Invalid WAV file %s\n"), wav_file[channel]); in check_wav_file() 735 fprintf(stderr, _("Not a WAV file: %s\n"), wav_file[channel]); in check_wav_file() 740 LE_SHORT(header.body.format), wav_file[channel]); in check_wav_file() 745 wav_file[channel], LE_SHORT(header.body.channels)); in check_wav_file() 750 LE_INT(header.body.rate), wav_file[channe in check_wav_file() [all...] |
Completed in 2 milliseconds