#3043 closed defect (fixed)
MIXER: getElapsedTime() on paused sounds
| Reported by: | eriktorbjorn | Owned by: | sev- |
|---|---|---|---|
| Priority: | normal | Component: | Audio |
| Version: | Keywords: | ||
| Cc: | Game: |
Description
Latest SVN snapshot.
Until recently, the mixer's getElapsedTime() function was only used on sounds that couldn't be paused. Now that we're using it in some cases to sync SMUSH movies, this could become a problem.
Ticket imported from: #1651330. Ticket imported from: bugs/3043.
Change History (7)
comment:1 by , 19 years ago
| Summary: | getElapsedTime() on paused sounds → MIXER: getElapsedTime() on paused sounds |
|---|
comment:2 by , 19 years ago
comment:5 by , 18 years ago
I'm not sure. I did try to fix it to deal with the new global dialog pausing Broken Sword 2 cutscenes, so it might be obsolete.
comment:6 by , 17 years ago
| Owner: | set to |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
comment:7 by , 8 years ago
| Component: | --Unset-- → Audio |
|---|
Note:
See TracTickets
for help on using tickets.

One idea to fix this would be to "simply" record in Channel::pause the duration of the pause, and then adjust _mixerTimeStamp accordingly.