summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sound_asset.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc
index 014b95a2..e18441c6 100644
--- a/src/sound_asset.cc
+++ b/src/sound_asset.cc
@@ -298,7 +298,8 @@ SoundAsset::equals (shared_ptr<const Asset> other, EqualityOptions opt, list<str
shared_ptr<const SoundFrame>
SoundAsset::get_frame (int n) const
{
- return shared_ptr<const SoundFrame> (new SoundFrame (path().string(), n + _entry_point));
+ /* XXX: should add on entry point here? */
+ return shared_ptr<const SoundFrame> (new SoundFrame (path().string(), n));
}
shared_ptr<SoundAssetWriter>