diff options
author | Max Horn | 2011-02-09 00:12:22 +0000 |
---|---|---|
committer | Max Horn | 2011-02-09 00:12:22 +0000 |
commit | 633b8ed27784814e264edd943797e0c6d44366db (patch) | |
tree | 3c4238c9d8fca47cc0d6f14b435185e274ff7f7a /engines/sword1/control.cpp | |
parent | 97bfd60e61991be9ed6686d6eb70370a901d4371 (diff) | |
download | scummvm-rg350-633b8ed27784814e264edd943797e0c6d44366db.tar.gz scummvm-rg350-633b8ed27784814e264edd943797e0c6d44366db.tar.bz2 scummvm-rg350-633b8ed27784814e264edd943797e0c6d44366db.zip |
AUDIO: Forbid adding timestamps with differing framerate
We used to allow this, but the result is a timestamp with a framerate
potentially different from that of both original timestamps, which can
lead to completely unexpected behavior. For example, consider this code
snippet:
a = a + b;
a = a.addFrames(1); // frame rate changed!
svn-id: r55840
Diffstat (limited to 'engines/sword1/control.cpp')
0 files changed, 0 insertions, 0 deletions