[Scummvm-devel] Help needed for Ringworld sound implementation

Paul Gilbert paulfgilbert at gmail.com
Sat May 28 02:35:27 CEST 2011


Hi all,

I've recently started work on implementing sound support for Ringworld (see
my tsage_sond branch), and have been getting somewhat bogged down. Even with
the debugging symbols extracted from the demo, there's a lot of weird
structures and intermediate code that I'd been finding particularly
difficult to understand.

What I'm suspecting is that a lot of this code is an independant
intermediate layer for generically managing the channels irrespective of
what sound card is being used, and even allows for playback across multiple
sound cards simultaneously. As such, particularly since a lot of this may be
redundant in ScummVM, I'm hoping that I can bypass most of it in favour of
just calling an appropriate Adlib 'playback' method that I can pass each
channel's data to. I've already gotten as far as decoding what I think is
the raw data for each channel, which I've included in the following download
for the opening title music:

https://rapidshare.com/files/319549266/floppy_song.zip

I'm hoping, as per above, that this is a standard raw data format for the
Adlib sound card, and that there's existing code I can use to launch a
playback. If so, I would appreciate any pointers on how to do it and/or
existing examples in the code. There's so much intermediate code for
handling channels, updating states, even some weird 'patch upload' code that
I'm unfamiliar with, that I'm afraid it could take months if I had to
manually re-implement everything.

For reference, the intro can be seen in the following Youtube video:
http://www.youtube.com/watch?v=M35JmXL0hgc

Thanks.

DreamMaster.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20110528/bb863a08/attachment.html>


More information about the Scummvm-devel mailing list