I've got my DM tech fully coded and it works except that I can't
get it to play more than one segment. If I load only one segment
it plays with no problems.
The problem is when I try to load more than one and play them in
turn (ie: Main Menu theme, Combat theme, etc.). They should
play when the game state changes.
I've made sure to stop the playing segment before
playing the new one. When loading more than one it compiles
with no problems, it just doesn't play anything.
I haven't found any tutorials that cover playing more than one
segment. They all give generic examples with just one.
Also, I've tried adding an additional port and that didn't fix it
Anyone have any experience with this? If need I can post the
code, but it's pretty much just the standard DM and COM init stuff
shown in the DX SDK.
Thanks in advance for any help!
Got it. I was trying to use more than one segment and (though
I'm sure it's possible) I couldn't get it. But I've found a work-
When the gamestate changes I stop the segment, then load the
new midi into the original segment and play it. Just have to
reload it everytime it changes. Only 3 extra lines of code.