• Home
  • Raw
  • Download

Lines Matching refs:peak_info

267 		{	if ((psf->peak_info = peak_info_calloc (psf->sf.channels)) == NULL)  in aiff_open()
269 psf->peak_info->peak_loc = SF_PEAK_START ; in aiff_open()
502 if (psf->peak_info) in aiff_read_header()
504 free (psf->peak_info) ; in aiff_read_header()
505 psf->peak_info = NULL ; in aiff_read_header()
507 if ((psf->peak_info = peak_info_calloc (psf->sf.channels)) == NULL) in aiff_read_header()
511 psf_binheader_readf (psf, "E44", &(psf->peak_info->version), &(psf->peak_info->timestamp)) ; in aiff_read_header()
513 if (psf->peak_info->version != 1) in aiff_read_header()
514 … psf_log_printf (psf, " version : %d *** (should be version 1)\n", psf->peak_info->version) ; in aiff_read_header()
516 psf_log_printf (psf, " version : %d\n", psf->peak_info->version) ; in aiff_read_header()
518 psf_log_printf (psf, " time stamp : %d\n", psf->peak_info->timestamp) ; in aiff_read_header()
527 psf->peak_info->peaks [k].value = value ; in aiff_read_header()
528 psf->peak_info->peaks [k].position = position ; in aiff_read_header()
531 k, psf->peak_info->peaks [k].position, psf->peak_info->peaks [k].value) ; in aiff_read_header()
536 psf->peak_info->peak_loc = ((found_chunk & HAVE_SSND) == 0) ? SF_PEAK_START : SF_PEAK_END ; in aiff_read_header()
1191 …_binheader_writef (psf, "Eft8", BHWf ((float) psf->peak_info->peaks [ch].value), BHW8 (psf->peak_i… in aiff_rewrite_header()
1464 if (psf->peak_info != NULL && psf->peak_info->peak_loc == SF_PEAK_START) in aiff_write_header()
1468 …f_binheader_writef (psf, "Eft8", BHWf ((float) psf->peak_info->peaks [k].value), BHW8 (psf->peak_i… in aiff_write_header()
1514 if (psf->peak_info != NULL && psf->peak_info->peak_loc == SF_PEAK_END) in aiff_write_tailer()
1518 …f_binheader_writef (psf, "Eft8", BHWf ((float) psf->peak_info->peaks [k].value), BHW8 (psf->peak_i… in aiff_write_tailer()