K Kaysakado Member Dec 15, 2007 #1 ...does it make O_ have a higher priority than D_? I tried, like, 50 kajillion searches: O_, "O_, Priorit, etc...
...does it make O_ have a higher priority than D_? I tried, like, 50 kajillion searches: O_, "O_, Priorit, etc...
glaber Emblem Radar Ready Dec 15, 2007 #2 Are you putting in music? O is for the mp3s and module files, D is for midis.
Oogaland Member Dec 15, 2007 #3 I haven't examined matters in detail, but this looks to be it. From s_sound.c: Code: if (!S_DigMusic(music, looping) && !S_MIDIMusic(music, looping) && (!nofmod || !nomusic || !digital_disabled || !music_disabled)) It's line 1039 in r2417. If you can't see how this works, you might like to take a look at Wikipedia's article on short-circuit evaluation.
I haven't examined matters in detail, but this looks to be it. From s_sound.c: Code: if (!S_DigMusic(music, looping) && !S_MIDIMusic(music, looping) && (!nofmod || !nomusic || !digital_disabled || !music_disabled)) It's line 1039 in r2417. If you can't see how this works, you might like to take a look at Wikipedia's article on short-circuit evaluation.
K Kaysakado Member Dec 15, 2007 #4 So if i wanted to give MIDIs higher priority, I would change it to this: Code: if (!S_MIDIMusic(music, looping) && !S_DigMusic(music, looping) && (!nofmod || !nomusic || !digital_disabled || !music_disabled)) EDIT: It worked!
So if i wanted to give MIDIs higher priority, I would change it to this: Code: if (!S_MIDIMusic(music, looping) && !S_DigMusic(music, looping) && (!nofmod || !nomusic || !digital_disabled || !music_disabled)) EDIT: It worked!