X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fsound_frame.cc;h=da0da194baf7f4df99997e29c009bf76e96ee3fc;hb=f9862aff32f7ea5aa10f9362d7598480b1c9cf28;hp=6471ee0a78d0b9358c4cf59b1f61a3206e604323;hpb=9acb2e83ed4a39ece8d39dd479c160b79b02d7ab;p=libdcp.git diff --git a/src/sound_frame.cc b/src/sound_frame.cc index 6471ee0a..da0da194 100644 --- a/src/sound_frame.cc +++ b/src/sound_frame.cc @@ -17,6 +17,10 @@ */ +/** @file src/sound_frame.cc + * @brief SoundFrame class. + */ + #include "sound_frame.h" #include "exceptions.h" #include "AS_DCP.h" @@ -25,10 +29,10 @@ using namespace std; using namespace dcp; -SoundFrame::SoundFrame (string mxf_path, int n, ASDCP::AESDecContext* c) +SoundFrame::SoundFrame (boost::filesystem::path mxf_path, int n, ASDCP::AESDecContext* c) { ASDCP::PCM::MXFReader reader; - Kumu::Result_t r = reader.OpenRead (mxf_path.c_str()); + Kumu::Result_t r = reader.OpenRead (mxf_path.file().c_str()); if (ASDCP_FAILURE (r)) { boost::throw_exception (FileError ("could not open MXF file for reading", mxf_path, r)); }