View Single Post
Old 06 January 2021, 20:41   #7
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,347
To play a sound, once you know where in memory it's stored, you could create a dummy sound object and either copy the data into the object, or modify the object's pointer to point at the data. It's unlikely the sound data will be in the Blitz internal sound object format, so you might need to do some basic decoding and manually set the other parameters in the sound object structure. You can see the sound object structure here: http://www.amigacoding.com/index.php...ct_types#sound and include the definition in your code by adding the bb2objtypes.res resident file to the compiler options.
Daedalus is offline  
 
Page generated in 0.07888 seconds with 11 queries