From a0c0e609f7fbff8513135428378cc16684bae937 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 23 Nov 2013 12:22:34 +0000 Subject: Remove Content::path(), add Content::path_summary(). --- src/lib/sndfile_decoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/sndfile_decoder.cc') diff --git a/src/lib/sndfile_decoder.cc b/src/lib/sndfile_decoder.cc index 09ccf4fbc..e10f4f568 100644 --- a/src/lib/sndfile_decoder.cc +++ b/src/lib/sndfile_decoder.cc @@ -40,7 +40,7 @@ SndfileDecoder::SndfileDecoder (shared_ptr f, shared_ptrpath().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")); } -- cgit v1.2.3