Opened 16 years ago

Closed 16 years ago

Last modified 10 months ago

#8263 closed patch

BASS: CD intro fixes

Reported by: eriktorbjorn Owned by: joostp
Priority: normal Component: Engine: Sky
Keywords: Cc:
Game: Beneath a Steel Sky

Description

This patch attempts to fix a few issues with the BASS
CD intro.

1. It no longer crashes for me. I'm still not 100% sure
of what was causing the crash. Maybe it was freeing a
buffer before the mixer was done with it, or something
like that.

2. Silence the annoying popping at the beginning of
every voice-over. This is a bit of a hack. I guess we
really ought to use _skySound to play the sound instead
of calling playRaw() directly...

3. The job of looping background sound effects has been
offloaded to the mixer. The sounds don't loop quite
seamlessly, but at least there are less gaps this way.

4. I've made a few changes to which background sounds
play where. I'm not sure about the result, but it
sounds right to me.

Ticket imported from: #776225. Ticket imported from: patches/368.

Attachments (1)

sky-intro.diff (5.1 KB) - added by eriktorbjorn 16 years ago.
Patch against a July 22 CVS snapshot

Download all attachments as: .zip

Change History (6)

Changed 16 years ago by eriktorbjorn

Attachment: sky-intro.diff added

Patch against a July 22 CVS snapshot

comment:1 Changed 16 years ago by eriktorbjorn

Owner: set to joostp

comment:2 Changed 16 years ago by eriktorbjorn

Assigning to joostp since he was the one who found the bug.
Feel free to reassign.

comment:3 Changed 16 years ago by joostp

Applying this. the crash has been fixed and the crackling
sound also doesn't loop longer than it should anymore, other
than that, it sounds right, but it's hard to compare..

Btw. Looping wasn't seamless in the original interpreter either,
perhaps the sfx-sample in question can be blamed for this.

comment:4 Changed 16 years ago by joostp

Status: newclosed

comment:5 Changed 10 months ago by digitall

Component: Engine: Sky
Game: Beneath a Steel Sky
Note: See TracTickets for help on using tickets.