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