For anyone interested, using Brucey's excellent wrapper, I wrote a higher level audio interface for noobs like me who need a basic (non streaming) audio driver for playing samples and mod files.
The wrapper includes:
Playing samples (wavs, oggs, etc..)
Playing music (mod,tracker, etc..)
Playing samples with auto panning based on screen x position.
Auto fade in/out of samples or music.
Load samples, music into easy to access index's.
Setting of volume, pan, for sample playback.
Setting of volume for music playback.
Start, Pause of the bass system via additional addition to Brucey's mod. This allows you to easily pause the entire sound process when the game is minimized or pauses. And then by calling Resume() you can restart all of the audio.
Download:
http://jgoware.com/mge/bruceybassmod.zip
The archive includes the source to Brucey's mod with the addition of TBass.Start(). Interestingly, TBass.Start() does not work on streams, but it works fine in this wrapper.
It's not really documented, it should be fairly straight forward. If you have any questions, please feel free to ask here. It's the same system I'm using for my games, so it's going through alot of testing. :)
Brucey, I hope you don't mind the re-wrap. Feel free to include my little one line enhancement (TBass.Start) in your official mod. :)
The wrapper includes:
Playing samples (wavs, oggs, etc..)
Playing music (mod,tracker, etc..)
Playing samples with auto panning based on screen x position.
Auto fade in/out of samples or music.
Load samples, music into easy to access index's.
Setting of volume, pan, for sample playback.
Setting of volume for music playback.
Start, Pause of the bass system via additional addition to Brucey's mod. This allows you to easily pause the entire sound process when the game is minimized or pauses. And then by calling Resume() you can restart all of the audio.
Download:
http://jgoware.com/mge/bruceybassmod.zip
The archive includes the source to Brucey's mod with the addition of TBass.Start(). Interestingly, TBass.Start() does not work on streams, but it works fine in this wrapper.
It's not really documented, it should be fairly straight forward. If you have any questions, please feel free to ask here. It's the same system I'm using for my games, so it's going through alot of testing. :)
Brucey, I hope you don't mind the re-wrap. Feel free to include my little one line enhancement (TBass.Start) in your official mod. :)