Home
last modified time | relevance | path

Searched refs:wav (Results 1 – 1 of 1) sorted by relevance

/system/media/audio_utils/
Dtinysndfile.c82 unsigned char wav[12]; in sf_open_read() local
84 actual = fread(wav, sizeof(char), sizeof(wav), stream); in sf_open_read()
91 if (memcmp(wav, "RIFF", 4)) { in sf_open_read()
97 unsigned riffSize = little4u(&wav[4]); in sf_open_read()
104 if (memcmp(&wav[8], "WAVE", 4)) { in sf_open_read()
316 unsigned char wav[58]; in sf_open_write() local
317 memset(wav, 0, sizeof(wav)); in sf_open_write()
318 memcpy(wav, "RIFF", 4); in sf_open_write()
319 memcpy(&wav[8], "WAVEfmt ", 8); in sf_open_write()
321 wav[4] = 50; // riffSize in sf_open_write()
[all …]