diff options
author | Carl Hetherington <carl@carlh.net> | 2010-12-03 22:26:29 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-12-03 22:26:29 +0000 |
commit | 73192bc1a7ea55fa1864dc3826845b15c00dd2ec (patch) | |
tree | c0039f3f5a848aed6e880abf11519dad855fa899 /libs/audiographer/audiographer/sndfile/sndfile_reader.h | |
parent | 74b4a3c77b08dc1e58274875604eb73e8492fa93 (diff) |
Remove all use of nframes_t.
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/audiographer/audiographer/sndfile/sndfile_reader.h')
-rw-r--r-- | libs/audiographer/audiographer/sndfile/sndfile_reader.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/audiographer/audiographer/sndfile/sndfile_reader.h b/libs/audiographer/audiographer/sndfile/sndfile_reader.h index f5f7adcb3a..f7a04f22d6 100644 --- a/libs/audiographer/audiographer/sndfile/sndfile_reader.h +++ b/libs/audiographer/audiographer/sndfile/sndfile_reader.h @@ -29,7 +29,7 @@ class SndfileReader * Note that the data read is output to the outputs, as well as read into the context * \return number of frames read */ - nframes_t read (ProcessContext<T> & context) + framecnt_t read (ProcessContext<T> & context) { if (throw_level (ThrowStrict) && context.channels() != channels() ) { throw Exception (*this, boost::str (boost::format @@ -37,7 +37,7 @@ class SndfileReader % context.channels() % channels())); } - nframes_t frames_read = SndfileHandle::read (context.data(), context.frames()); + framecnt_t const frames_read = SndfileHandle::read (context.data(), context.frames()); ProcessContext<T> c_out = context.beginning (frames_read); if (frames_read < context.frames()) { @@ -54,4 +54,4 @@ class SndfileReader } // namespace -#endif // AUDIOGRAPHER_SNDFILE_READER_H
\ No newline at end of file +#endif // AUDIOGRAPHER_SNDFILE_READER_H |