Alexandre Lision | 7c6f4a6 | 2013-09-05 13:27:01 -0400 | [diff] [blame] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| 2 | <HTML> |
| 3 | |
| 4 | <HEAD> |
| 5 | <TITLE> |
| 6 | sndfile-info |
| 7 | </TITLE> |
| 8 | <META NAME="Author" CONTENT="Erik de Castro Lopo (erikd AT mega-nerd DOT com)"> |
| 9 | <LINK REL="stylesheet" HREF="libsndfile.css" TYPE="text/css" MEDIA="all"> |
| 10 | <LINK REL="stylesheet" HREF="print.css" TYPE="text/css" MEDIA="print"> |
| 11 | </HEAD> |
| 12 | |
| 13 | <BODY> |
| 14 | |
| 15 | <P> |
| 16 | Here is an example of the output from the <B>sndfile-info</B> program distributed with |
| 17 | libsndfile. |
| 18 | </P> |
| 19 | |
| 20 | <P> |
| 21 | This file was opened and parsed correctly but had been truncated so that the values |
| 22 | in the <B>FORM</B> and <B>SSND</B> chunks were incorrect. |
| 23 | </P> |
| 24 | <PRE> |
| 25 | <B>erikd@hendrix ></B> examples/sndfile-info truncated.aiff |
| 26 | truncated.aiff |
| 27 | size : 200000 |
| 28 | FORM : 307474 (should be 199992) |
| 29 | AIFF |
| 30 | COMM : 18 |
| 31 | Sample Rate : 16000 |
| 32 | Samples : 76857 |
| 33 | Channels : 2 |
| 34 | Sample Size : 16 |
| 35 | SSND : 307436 (should be 199946) |
| 36 | Offset : 0 |
| 37 | Block Size : 0 |
| 38 | |
| 39 | -------------------------------- |
| 40 | Sample Rate : 16000 |
| 41 | Frames : 76857 |
| 42 | Channels : 2 |
| 43 | Bit Width : 16 |
| 44 | Format : 0x00020001 |
| 45 | Sections : 1 |
| 46 | Seekable : TRUE |
| 47 | Signal Max : 32766 |
| 48 | |
| 49 | </PRE> |
| 50 | |
| 51 | |
| 52 | </BODY> |
| 53 | </HTML> |