, _deinterleave_buffer (0)
{
_info.format = 0;
- _sndfile = sf_open (_sndfile_content->file().string().c_str(), SFM_READ, &_info);
+ _sndfile = sf_open (_sndfile_content->path(0).string().c_str(), SFM_READ, &_info);
if (!_sndfile) {
throw DecodeError (_("could not open audio file for reading"));
}
{
return _audio_position >= _sndfile_content->audio_length ();
}
+
+void
+SndfileDecoder::seek (Time t, bool accurate)
+{
+ /* XXX */
+}