Since I thought the net had way too little articles on FMOD + C#, I wrote one myself.
Due to being very excited on getting it published, I havn’t had it genuinely proofread yet. I was wondering if someone here is able to spot some serious errors in it before I release the news on the news page of my site?
The article is located at:
Thank you for your time!
hi, i noticed you are calling playsound with CHANNELINDEX.REUSE | CHANNELINDEX.FREE, you should be using one or the other, not or’ing them together.
[code:1i5j4hjx] public enum CHANNELINDEX
FREE = -1, /* For a channel index, FMOD chooses a free voice using the priority system. /
REUSE = -2 / For a channel index, re-use the channel handle that was passed in. */
[quote="brett":3b3726br]The result of that would have been 0xffffffff | 0xfffffffe which is still 0xffffffff = -1 which is still .FREE, so lucky there i guess. :)[/quote:3b3726br]
Oh, haha, yeah, lucky I was.
I fixed that and the MODE.SOFTWARE thing.
I really appriciate that you both looked it through, thanks!
Please login first to submit.