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/coreaudiosource.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/coreaudiosource.cc')
-rw-r--r-- | libs/ardour/coreaudiosource.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/ardour/coreaudiosource.cc b/libs/ardour/coreaudiosource.cc index 09e06a49bc..ef99b9afcf 100644 --- a/libs/ardour/coreaudiosource.cc +++ b/libs/ardour/coreaudiosource.cc @@ -174,7 +174,6 @@ CoreAudioSource::read_unlocked (Sample *dst, framepos_t start, framecnt_t cnt) c if (n_channels == 1) { if (safe_read (dst, start, file_cnt, abl) == 0) { - _read_data_count = cnt * sizeof (Sample); return cnt; } return 0; @@ -187,8 +186,6 @@ CoreAudioSource::read_unlocked (Sample *dst, framepos_t start, framecnt_t cnt) c return 0; } - _read_data_count = cnt * sizeof(float); - Sample *ptr = interleave_buf + _channel; /* stride through the interleaved data */ |