summaryrefslogtreecommitdiff
path: root/libs/audiographer/audiographer/general/sr_converter.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-12-03 22:26:29 +0000
committerCarl Hetherington <carl@carlh.net>2010-12-03 22:26:29 +0000
commit73192bc1a7ea55fa1864dc3826845b15c00dd2ec (patch)
treec0039f3f5a848aed6e880abf11519dad855fa899 /libs/audiographer/audiographer/general/sr_converter.h
parent74b4a3c77b08dc1e58274875604eb73e8492fa93 (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/general/sr_converter.h')
-rw-r--r--libs/audiographer/audiographer/general/sr_converter.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/audiographer/audiographer/general/sr_converter.h b/libs/audiographer/audiographer/general/sr_converter.h
index f28c8f6953..a3298bbf97 100644
--- a/libs/audiographer/audiographer/general/sr_converter.h
+++ b/libs/audiographer/audiographer/general/sr_converter.h
@@ -25,10 +25,10 @@ class SampleRateConverter
~SampleRateConverter ();
/// Init converter \n Not RT safe
- void init (nframes_t in_rate, nframes_t out_rate, int quality = 0);
+ void init (framecnt_t in_rate, framecnt_t out_rate, int quality = 0);
/// Returns max amount of frames that will be output \n RT safe
- nframes_t allocate_buffers (nframes_t max_frames);
+ framecnt_t allocate_buffers (framecnt_t max_frames);
/** Does sample rate conversion.
* Note that outpt size may vary a lot.
@@ -46,14 +46,14 @@ class SampleRateConverter
bool active;
uint32_t channels;
- nframes_t max_frames_in;
+ framecnt_t max_frames_in;
float * leftover_data;
- nframes_t leftover_frames;
- nframes_t max_leftover_frames;
+ framecnt_t leftover_frames;
+ framecnt_t max_leftover_frames;
float * data_out;
- nframes_t data_out_size;
+ framecnt_t data_out_size;
SRC_DATA src_data;
SRC_STATE* src_state;