diff options
author | Carl Hetherington <carl@carlh.net> | 2011-10-24 20:45:29 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-10-24 20:45:29 +0000 |
commit | 75e6adcf03078c24d13ddc7c9c714582a6cf7891 (patch) | |
tree | 7bc831c605e76def3ee045569dfd442c8c7d67c1 /libs/ardour/audio_playlist.cc | |
parent | 8404d7ff94c6bffd150ed11a791a26ae5f1d824d (diff) |
Remove unused read/write data count code.
git-svn-id: svn://localhost/ardour2/branches/3.0@10300 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audio_playlist.cc')
-rw-r--r-- | libs/ardour/audio_playlist.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/ardour/audio_playlist.cc b/libs/ardour/audio_playlist.cc index 094191084d..b62aeb3ee7 100644 --- a/libs/ardour/audio_playlist.cc +++ b/libs/ardour/audio_playlist.cc @@ -286,9 +286,6 @@ AudioPlaylist::read (Sample *buf, Sample *mixdown_buffer, float *gain_buffer, fr Glib::RecMutex::Lock rm (region_lock); framepos_t const end = start + cnt - 1; - _read_data_count = 0; - - _read_data_count = 0; RegionList* rlist = regions_to_read (start, start+cnt); @@ -346,16 +343,11 @@ AudioPlaylist::read (Sample *buf, Sample *mixdown_buffer, float *gain_buffer, fr DEBUG_TRACE (DEBUG::AudioPlayback, string_compose ("read from region %1\n", ar->name())); assert(ar); ar->read_at (buf, mixdown_buffer, gain_buffer, start, cnt, chan_n); - _read_data_count += ar->read_data_count(); } for (vector<boost::shared_ptr<Crossfade> >::iterator i = x.begin(); i != x.end(); ++i) { DEBUG_TRACE (DEBUG::AudioPlayback, string_compose ("read from xfade between %1 & %2\n", (*i)->out()->name(), (*i)->in()->name())); (*i)->read_at (buf, mixdown_buffer, gain_buffer, start, cnt, chan_n); - - /* don't JACK up _read_data_count, since its the same data as we just - read from the regions, and the OS should handle that for us. - */ } } |