Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#2647 closed defect (fixed)

ITE: Screeching sound glitch in demo

Reported by: salty-horse Owned by: eriktorbjorn
Priority: normal Component: Engine: SAGA
Version: Keywords:
Cc: Game: Inherit the Earth

Description

Using SVN r22806. When looking at the Medallion, the audio of "Next time, this will be gold" is heard. At the beginning of "this", an obvious screech is heard. The official linux interpreter seems to have no problem playing the same audio without any problems.

I obtained the demo from Wyrmkeep's website: http://www.wyrmkeep.com/downloads/itedemo-1.0.tar.gz

Ticket imported from: #1498525. Ticket imported from: bugs/2647.

Change History (4)

comment:1 by sev-, 18 years ago

Owner: set to SF/h00ligan

comment:2 by sev-, 18 years ago

Andrew, may you take a look at it?

comment:3 by eriktorbjorn, 18 years ago

I've changed ADPCMInputStream::decodeOKI() to clip 'samp' to 2047 instead of 2048, so that it stays positive when multiplying it by 16.

It currently sets _stats.last to the clipped samp value. I wonder what would happen if I set it to the unclipped value instead... but I haven't changed that.

Let me know if there are any other problems. For now, I'll assume it's fixed.

comment:4 by eriktorbjorn, 18 years ago

Owner: changed from SF/h00ligan to eriktorbjorn
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.