Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cdrw/
H A Dbstream.c186 Wave_filehdr wav; in wav_write_stream_close() local
189 (void) memset(&wav, 0, sizeof (wav)); in wav_write_stream_close()
192 if (read(h->bstr_fd, &wav, sizeof (wav)) != sizeof (wav)) { in wav_write_stream_close()
195 wav.total_chunk_size = CPU_TO_LE32(sz - 8); in wav_write_stream_close()
196 wav.data_size = CPU_TO_LE32(sz - 44); in wav_write_stream_close()
198 if (write(h->bstr_fd, &wav, sizeof (wav)) != sizeof (wav)) { in wav_write_stream_close()
471 Wave_filehdr *wav; in open_wav_read_stream() local
475 wav = NULL; in open_wav_read_stream()
488 wav = (Wave_filehdr *)my_zalloc(sizeof (*wav)); in open_wav_read_stream()
489 if (read(fd, wav, sizeof (*wav)) != sizeof (*wav)) { in open_wav_read_stream()
[all …]
/titanic_41/usr/src/cmd/file/
H A Dmagic368 # .wav files are always little-endian
369 # .wav big-endian entries, starting with long value for the string "RIFF"
380 # .wav little-endian entries, starting with long value for the string "RIFF"