Chris@0: Chris@0: Chris@0: Chris@0:
Chris@0:Chris@0: Here is an example of the output from the sndfile-info program distributed with Chris@0: libsndfile. Chris@0:
Chris@0: Chris@0:Chris@0: This file was opened and parsed correctly but had been truncated so that the values Chris@0: in the FORM and SSND chunks were incorrect. Chris@0:
Chris@0:Chris@0: erikd@hendrix > examples/sndfile-info truncated.aiff Chris@0: truncated.aiff Chris@0: size : 200000 Chris@0: FORM : 307474 (should be 199992) Chris@0: AIFF Chris@0: COMM : 18 Chris@0: Sample Rate : 16000 Chris@0: Samples : 76857 Chris@0: Channels : 2 Chris@0: Sample Size : 16 Chris@0: SSND : 307436 (should be 199946) Chris@0: Offset : 0 Chris@0: Block Size : 0 Chris@0: Chris@0: -------------------------------- Chris@0: Sample Rate : 16000 Chris@0: Frames : 76857 Chris@0: Channels : 2 Chris@0: Bit Width : 16 Chris@0: Format : 0x00020001 Chris@0: Sections : 1 Chris@0: Seekable : TRUE Chris@0: Signal Max : 32766 Chris@0: Chris@0:Chris@0: Chris@0: Chris@0: Chris@0: