Lines Matching refs:peak_info
161 { if ((psf->peak_info = peak_info_calloc (psf->sf.channels)) == NULL) in caf_open()
163 psf->peak_info->peak_loc = SF_PEAK_START ; in caf_open()
419 if ((psf->peak_info = peak_info_calloc (psf->sf.channels)) == NULL) in caf_read_header()
423 psf_binheader_readf (psf, "E4", & (psf->peak_info->edit_number)) ; in caf_read_header()
424 psf_log_printf (psf, " edit count : %d\n", psf->peak_info->edit_number) ; in caf_read_header()
432 psf->peak_info->peaks [k].value = value ; in caf_read_header()
433 psf->peak_info->peaks [k].position = position ; in caf_read_header()
439 psf->peak_info->peak_loc = SF_PEAK_START ; in caf_read_header()
728 if (psf->peak_info != NULL) in caf_write_header()
730 …, BHW8 ((sf_count_t) CAF_PEAK_CHUNK_SIZE (psf->sf.channels)), BHW4 (psf->peak_info->edit_number)) ; in caf_write_header()
732 …sf_binheader_writef (psf, "Ef8", BHWf ((float) psf->peak_info->peaks [k].value), BHW8 (psf->peak_i… in caf_write_header()