diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-10-04 11:31:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-10-04 11:31:21 +0100 |
| commit | d5447f49de58b5ec8b97d09d10aa3a1ac8470ec8 (patch) | |
| tree | 2f18f9ab292675734620bc78ac9e2a5c68a7fe21 /src | |
| parent | 8a1887908c66d7d8f7107e5d2f26019548aa1fd3 (diff) | |
boost::filesystem.
Diffstat (limited to 'src')
| -rw-r--r-- | src/sound_asset.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc index 88f9a0fb..8f666ee6 100644 --- a/src/sound_asset.cc +++ b/src/sound_asset.cc @@ -91,7 +91,7 @@ SoundAsset::create (boost::function<boost::filesystem::path (Channel)> get_path) assert (_channels > 0); ASDCP::PCM::WAVParser pcm_parser_channel[_channels]; - if (pcm_parser_channel[0].OpenRead (get_path(LEFT).c_str(), asdcp_edit_rate)) { + if (pcm_parser_channel[0].OpenRead (get_path(LEFT).string().c_str(), asdcp_edit_rate)) { boost::throw_exception (FileError ("could not open WAV file for reading", get_path(LEFT))); } |
