Opened 22 years ago

Closed 22 years ago

Last modified 6 years ago

#7994 closed patch

Mixer channel shortage

Reported by: SF/phillip_j_fry Owned by: fingolfin
Priority: normal Component: Audio
Version: Keywords:
Cc: Game:

Description

I feel there's no need to *create* a mixer channel and *then* check if there is room for it in the _channels array. Why not just check if there's room for another channel in the array and if so, create a new channel. This patch allows you to enter the Nexus in The Dig after you've restored power.

Note: this patch removes the SoundMixer::insert function.

Ticket imported from: #587769. Ticket imported from: patches/99.

Attachments (1)

scummvm-mixer.patch (2.4 KB ) - added by SF/phillip_j_fry 22 years ago.
mixer channel patch

Download all attachments as: .zip

Change History (4)

by SF/phillip_j_fry, 22 years ago

Attachment: scummvm-mixer.patch added

mixer channel patch

comment:1 by fingolfin, 22 years ago

Seems fine.

comment:2 by fingolfin, 22 years ago

Owner: set to fingolfin
Status: newclosed

comment:3 by digitall, 6 years ago

Component: Audio
Note: See TracTickets for help on using tickets.