summaryrefslogtreecommitdiff
path: root/src/sound_asset.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound_asset.cc')
-rw-r--r--src/sound_asset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc
index 11fd4b2f..74d41212 100644
--- a/src/sound_asset.cc
+++ b/src/sound_asset.cc
@@ -201,7 +201,7 @@ SoundAsset::start_write (boost::filesystem::path file, Standard standard)
shared_ptr<SoundAssetReader>
SoundAsset::start_read () const
{
- return shared_ptr<SoundAssetReader> (new SoundAssetReader (this));
+ return shared_ptr<SoundAssetReader> (new SoundAssetReader (this, key ()));
}
string