_done += this_time;
_remaining -= this_time;
- return true;
+ return _remaining == 0;
}
int
return _info.channels;
}
-AudioContent::Frame
+AudioFrame
SndfileDecoder::audio_length () const
{
return _info.frames;
SndfileDecoder::seek (ContentTime t, bool accurate)
{
Decoder::seek (t, accurate);
+ AudioDecoder::seek (t, accurate);
_done = t * audio_frame_rate() / TIME_HZ;
_remaining = _info.frames - _done;