0
0

FMOD is doing some odd things with my channels..

A MOD is loaded with four channels (0 to 3).. now, i know which channel is where in the MOD file..

FMOD’s channel commands are returning MOD files different..

One is: 0,2,1,3
Another was: 0,3,2,1

And this varies per MOD :(

To make it more clear:

[code:2i61mihu]
(globaltrash.mod)
MOD FMOD
channel channel
0 0
1 2
2 1
3 3

(riseup.mod)
MOD FMOD
channel channel
0 0
1 3
2 2
3 1
[/code:2i61mihu]

Why is this? and how do i tell which FMOD channel is which actual MOD channel??

Shopper

  • You must to post comments
0
0

Nevermind..

I just found the undocumented FMUSIC_GetRealChannel() command in the DLL.. perhaps it should be documented?

FMOD allocates it’s channels in order of which MOD channel plays a sample first.. Kinda screws the whole thing up, but at least now i can write some code to detect which channel will go where, as FMUSIC_GetRealChannel() doesn’t ‘find’ the real channel until that channel has played a sample.

Shopper & Tracer

  • You must to post comments
0
0

Hi Brett

I was talking about the CHM file, which is what i used for developing the Blitz userlib. Which, btw, is working damned good :)

Any other commands that i should be aware of that aren’t in the CHM? :)

And, yeah, i understand what you mean with the channel number, GetRealChannel did the trick just fine.

Tracer, using Shopper’s pass

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.