Opened 18 years ago

Closed 18 years ago

Last modified 13 months ago

#7908 closed patch (wontfix)

adl sound dump files patch

Reported by: SF/japj Owned by:
Priority: normal Component: Audio
Keywords: Cc:
Game:

Description

The following patch allows the adl (midi) files being
saved whenever it should be played. for sound debugging
purposes only.

RCS file: /cvsroot/scummvm/scummvm/sound.cpp,v
diff -u -r1.5 sound.cpp

void Scumm::playSound(int sound) {
SoundEngine *se = (SoundEngine*)_soundDriver;
if (se) {
-
getResourceAddress(rtSound, sound);
+
byte *mem=getResourceAddress(rtSound, sound);
+
dumpResource("sound_adl",sound,mem);

se->start_sound(sound);
}
}

Ticket imported from: #480381. Ticket imported from: patches/13.

Change History (3)

comment:1 by SF/japj, 18 years ago

don't apply to cvs, because it won't work in current cvs
because of no SoundEngine is present atm

comment:2 by SF/japj, 18 years ago

Resolution: wontfix
Status: newclosed

comment:3 by digitall, 13 months ago

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