Lines Matching refs:peak
229 double peak = (double)block_peak / peak_scale; in grabbag__replaygain_analyze() local
230 if(peak > title_peak_) in grabbag__replaygain_analyze()
231 title_peak_ = peak; in grabbag__replaygain_analyze()
232 if(peak > album_peak_) in grabbag__replaygain_analyze()
233 album_peak_ = peak; in grabbag__replaygain_analyze()
239 void grabbag__replaygain_get_album(float *gain, float *peak) in grabbag__replaygain_get_album() argument
242 *peak = (float)album_peak_; in grabbag__replaygain_get_album()
246 void grabbag__replaygain_get_title(float *gain, float *peak) in grabbag__replaygain_get_title() argument
249 *peak = (float)title_peak_; in grabbag__replaygain_get_title()
607 …ta *block, FLAC__bool album_mode, FLAC__bool strict, double *reference, double *gain, double *peak) in grabbag__replaygain_load_from_vorbiscomment() argument
616 FLAC__ASSERT(0 != peak); in grabbag__replaygain_load_from_vorbiscomment()
643 if(res && !parse_double_(block->data.vorbis_comment.comments + peak_offset, peak)) in grabbag__replaygain_load_from_vorbiscomment()
651 …ag__replaygain_load_from_vorbiscomment(block, !album_mode, /*strict=*/true, reference, gain, peak); in grabbag__replaygain_load_from_vorbiscomment()
656 double grabbag__replaygain_compute_scale_factor(double peak, double gain, double preamp, FLAC__bool… in grabbag__replaygain_compute_scale_factor() argument
659 FLAC__ASSERT(peak >= 0.0); in grabbag__replaygain_compute_scale_factor()
662 if(prevent_clipping && peak > 0.0) { in grabbag__replaygain_compute_scale_factor()
663 const double max_scale = (float)(1.0 / peak); in grabbag__replaygain_compute_scale_factor()