Lines Matching defs:info
63 int calc_checksum (SNDFILE * file, const SF_INFO * info) ;
175 SF_INFO info ;
188 memset (&info, 0, sizeof (info)) ;
189 sndfile = sf_open (db->pathname, SFM_READ, &info) ;
191 checksum = (sndfile == NULL) ? 0 : calc_checksum (sndfile, &info) ;
205 db->filename, db->pathname, info.samplerate, (long) info.frames, info.channels, info.format, checksum, db->logbuf) ;
341 SF_INFO info ;
348 memset (&info, 0, sizeof (info)) ;
349 sndfile = sf_open (db->pathname, SFM_READ, &info) ;
351 checksum = (sndfile == NULL) ? 0 : calc_checksum (sndfile, &info) ;
379 { if (strtol (result [k + cols], NULL, 10) == info.samplerate)
381 printf ("\n\nError : srate doesn't match : %s == %d\n", result [k + cols], info.samplerate) ;
385 { if (strtoll (result [k + cols], NULL, 10) == info.frames)
387 printf ("\n\nError : frames doesn't match : %s == %ld\n", result [k + cols], (long) info.frames) ;
391 { if (strtol (result [k + cols], NULL, 10) == info.channels)
393 printf ("\n\nError : channels doesn't match : %s == %d\n", result [k + cols], info.channels) ;
397 { if (strtol (result [k + cols], NULL, 16) == info.format)
399 printf ("\n\nError : format doesn't match : %s == 0x%08x\n", result [k + cols], info.format) ;