Home
last modified time | relevance | path

Searched refs:wavfp (Results 1 - 1 of 1) sorted by relevance

/third_party/alsa-utils/speaker-test/
H A Dspeaker-test.c808 static FILE *wavfp = NULL; in read_wav() local
823 if (wavfp) in read_wav()
824 fclose(wavfp); in read_wav()
825 wavfp = fopen(wav_file[channel], "r"); in read_wav()
826 if (! wavfp) in read_wav()
828 if (fseek(wavfp, sizeof(struct wave_header), SEEK_SET) < 0) in read_wav()
838 if (fread(buf, 2, 1, wavfp) != 1) in read_wav()

Completed in 3 milliseconds