diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-09-04 23:34:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-09-04 23:34:11 +0100 |
| commit | 926aff7db1e5ad6c02743608e3792fdca39eea4a (patch) | |
| tree | ff35ec79b85c259f524ee7e44fd3b129ebf38adb /src/reel_sound_asset.cc | |
| parent | 8b72edd4068deaf4a9ea5e469475419898976a9d (diff) | |
Add basic CCAP support.
Diffstat (limited to 'src/reel_sound_asset.cc')
| -rw-r--r-- | src/reel_sound_asset.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reel_sound_asset.cc b/src/reel_sound_asset.cc index 1b582535..178b0a08 100644 --- a/src/reel_sound_asset.cc +++ b/src/reel_sound_asset.cc @@ -60,7 +60,7 @@ ReelSoundAsset::ReelSoundAsset (shared_ptr<const cxml::Node> node) } string -ReelSoundAsset::cpl_node_name () const +ReelSoundAsset::cpl_node_name (Standard) const { return "MainSound"; } @@ -78,7 +78,7 @@ ReelSoundAsset::write_to_cpl (xmlpp::Node* node, Standard standard) const if (key_id ()) { /* Find <MainSound> */ - xmlpp::Node* ms = find_child (node, cpl_node_name ()); + xmlpp::Node* ms = find_child (node, cpl_node_name (standard)); /* Find <Hash> */ xmlpp::Node* hash = find_child (ms, "Hash"); ms->add_child_before (hash, "KeyId")->add_child_text ("urn:uuid:" + key_id().get ()); |
