Hi all,<br><br>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.<br>
<br>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:<br>
<br><a href="https://rapidshare.com/files/319549266/floppy_song.zip">https://rapidshare.com/files/319549266/floppy_song.zip</a><br><br>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.<br>
<br>For reference, the intro can be seen in the following Youtube video: <a href="http://www.youtube.com/watch?v=M35JmXL0hgc">http://www.youtube.com/watch?v=M35JmXL0hgc</a><br><br>Thanks.<br><br>DreamMaster.<br><br>