From 40b3ced17b7fff8badfaa8ec2201a8186cdc7dc2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 2 May 2014 18:17:35 +0100 Subject: Rename AudioContent frame_rate methods and move resampled_audio_frame_rate into AudioContent. --- src/lib/sndfile_decoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/sndfile_decoder.cc') diff --git a/src/lib/sndfile_decoder.cc b/src/lib/sndfile_decoder.cc index c37a84474..602014d58 100644 --- a/src/lib/sndfile_decoder.cc +++ b/src/lib/sndfile_decoder.cc @@ -74,7 +74,7 @@ SndfileDecoder::pass () /* Do things in half second blocks as I think there may be limits to what FFmpeg (and in particular the resampler) can cope with. */ - sf_count_t const block = _sndfile_content->content_audio_frame_rate() / 2; + sf_count_t const block = _sndfile_content->audio_frame_rate() / 2; sf_count_t const this_time = min (block, _remaining); int const channels = _sndfile_content->audio_channels (); -- cgit v1.2.3