boost::filesystem::path path () const;
- void set_directory (std::string d) {
+ void set_directory (boost::filesystem::path d) {
_directory = d;
}
- void set_file_name (std::string f) {
+ void set_file_name (boost::filesystem::path f) {
_file_name = f;
}
using boost::lexical_cast;
using namespace libdcp;
-SoundAsset::SoundAsset (boost::filesystem::path directory, string mxf_name)
+SoundAsset::SoundAsset (boost::filesystem::path directory, boost::filesystem::path mxf_name)
: MXFAsset (directory, mxf_name)
, _channels (0)
, _sampling_rate (0)
class SoundAsset : public MXFAsset
{
public:
- SoundAsset (boost::filesystem::path directory, std::string mxf_name);
+ SoundAsset (boost::filesystem::path directory, boost::filesystem::path mxf_name);
void read ();
void create (std::vector<boost::filesystem::path> const & files);