summaryrefslogtreecommitdiff
path: root/src/sound_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-09-25 17:19:59 +0100
committerCarl Hetherington <cth@carlh.net>2013-09-25 17:19:59 +0100
commite563727ee7b72881ee163db9b777559c8ceb5074 (patch)
tree691966d59ee49912c6c020f67759ee13ece0a925 /src/sound_asset.h
parent43465aa4037cec6d351a842a6624a50685d6c127 (diff)
Add round-trip KDM test. Fix various bugs in KDM generation. Some string -> path.
Diffstat (limited to 'src/sound_asset.h')
-rw-r--r--src/sound_asset.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sound_asset.h b/src/sound_asset.h
index 339e67f8..1d2a4755 100644
--- a/src/sound_asset.h
+++ b/src/sound_asset.h
@@ -82,8 +82,8 @@ public:
* Note that this is different to entry_point in that the asset will contain no data before start_frame.
*/
SoundAsset (
- std::vector<std::string> const & files,
- std::string directory,
+ std::vector<boost::filesystem::path> const & files,
+ boost::filesystem::path directory,
std::string mxf_name,
boost::signals2::signal<void (float)>* progress,
int fps,
@@ -103,8 +103,8 @@ public:
* @param channels Number of audio channels.
*/
SoundAsset (
- boost::function<std::string (Channel)> get_path,
- std::string directory,
+ boost::function<boost::filesystem::path (Channel)> get_path,
+ boost::filesystem::path directory,
std::string mxf_name,
boost::signals2::signal<void (float)>* progress,
int fps,
@@ -115,12 +115,12 @@ public:
);
SoundAsset (
- std::string directory,
+ boost::filesystem::path directory,
std::string mxf_name
);
SoundAsset (
- std::string directory,
+ boost::filesystem::path directory,
std::string mxf_name,
int fps,
int channels,
@@ -143,8 +143,8 @@ public:
private:
std::string key_type () const;
- void construct (boost::function<std::string (Channel)> get_path, bool interop, MXFMetadata const &);
- std::string path_from_channel (Channel channel, std::vector<std::string> const & files);
+ void construct (boost::function<boost::filesystem::path (Channel)> get_path, bool interop, MXFMetadata const &);
+ boost::filesystem::path path_from_channel (Channel channel, std::vector<boost::filesystem::path> const & files);
std::string cpl_node_name () const;
/** Number of channels in the asset */