{
}
-nframes_t
-CAImportableSource::read (Sample* buffer, nframes_t nframes)
+framecnt_t
+CAImportableSource::read (Sample* buffer, framecnt_t nframes)
{
- nframes_t nread = 0;
+ framecnt_t nread = 0;
AudioBufferList abl;
- nframes_t per_channel;
+ framecnt_t per_channel;
bool at_end = false;
abl.mNumberBuffers = 1;
return af.GetFileDataFormat().NumberChannels();
}
-nframes_t
+framecnt_t
CAImportableSource::length () const
{
return af.GetNumberFrames();
}
-nframes_t
-CAImportableSource::samplerate() const
+framecnt_t
+CAImportableSource::samplerate () const
{
CAStreamBasicDescription client_asbd;
}
void
-CAImportableSource::seek (nframes_t pos)
+CAImportableSource::seek (framepos_t pos)
{
try {
af.Seek (pos);