Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#6473 closed defect

NEVERHOOD: Looping sounds have a slight pause between loops

Reported by: salty-horse Owned by: bluegr
Priority: normal Component: Engine: Neverhood
Keywords: Cc:
Game: The Neverhood

Description

Using git master@66dddbe892765212cf3821fd08005cef9584df2e

Looping sounds have a slight pause between when the sample ends and begins again.

This is noticeable when using the elevator in the dark room in the hall of records. The original game has a smooth sound, while ScummVM does not.

Attached is a small patch I wrote a while back that tries to fix this. The sound plays smoothly, but it glitches. I think this happens due to seek(0) being called while the stream still playing (in NeverhoodAudioStream::readBuffer).

Ticket imported from: bugs/6473.

Attachments (1)

neverhood_sound_loop_glitch.patch (2.0 KB ) - added by salty-horse 6 years ago.

Download all attachments as: .zip

Change History (3)

by salty-horse, 6 years ago

comment:1 by bluegr, 6 years ago

Owner: set to bluegr
Status: newclosed

comment:2 by bluegr, 6 years ago

Many thanks for the patch!

I've applied a modified version, which fixes the pops. Closing

Note: See TracTickets for help on using tickets.