diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-02-05 12:59:12 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-02-05 12:59:12 +0000 |
| commit | f9862aff32f7ea5aa10f9362d7598480b1c9cf28 (patch) | |
| tree | df14985bee0e52f284ffa4c0881a61b32848f5d0 /src/sound_frame.cc | |
| parent | 9acb2e83ed4a39ece8d39dd479c160b79b02d7ab (diff) | |
Comments / tweaks.
Diffstat (limited to 'src/sound_frame.cc')
| -rw-r--r-- | src/sound_frame.cc | 8 |
1 files changed, 6 insertions, 2 deletions
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)); } |
