Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: HLD_Prophecy on January 21, 2018, 03:24:44 pm

Title: Warp sound error
Post by: HLD_Prophecy on January 21, 2018, 03:24:44 pm
Hey guys!

My mod runs error free with the normal build of 3.8.0, but when I use the debug build, the first time something jumps in/out during a mission, I get this error:

Code: [Select]
Warning: Sound 'MV_Warp_1.ogg' has more than one channel but is used as a 3D sound! 3D sounds may only have one channel.
File: sound.cpp
Line: 356

ntdll.dll! NtWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 99 bytes
ntdll.dll! RtlInitializeExceptionChain + 54 bytes
fs2_open_3_8_0_SSE2-FASTDBG.exe! <no symbol>

Again, this doesn't affect the mod running normally on the normal build. It only happens the first time something jumps in/out, not subsequent times.

So it's not a huge issue and I could ignore it, but I'm interested to see if it's symptomatic of a bigger problem.
Title: Re: Warp sound error
Post by: The E on January 21, 2018, 04:30:09 pm
This is something that is not going to be a huge issue, but you should still fix it; just use audacity or a similar tool to make that sound file into a mono file.

The reason you're getting this warning is that a warpin/warpout sound is classified as a 3D sound, i.e. one that the engine places into the sound environment by itself. This can only really work with mono sounds, for fairly obvious reasons.
Title: Re: Warp sound error
Post by: HLD_Prophecy on January 21, 2018, 04:55:07 pm
But that sound is something that's packed up in the MediaVP's... it's not something packaged along with my mod. So theoretically this error should happen with every mod, right?
Title: Re: Warp sound error
Post by: bomb3rman on January 22, 2018, 01:14:22 am
I get this too when running my project... Though never experienced issues with it despite the fact that this message pops up when running the debug file. I'm using the MediaVPs as well.

I don't think that it's going to be a big problem, too.
Title: Re: Warp sound error
Post by: AdmiralRalwood on January 22, 2018, 05:36:00 pm
But that sound is something that's packed up in the MediaVP's... it's not something packaged along with my mod. So theoretically this error should happen with every mod, right?
Basically, yes. If you use a recent nightly build, this warning is disabled until/unless the mod specifies a target version of at least 3.8.0.
Title: Re: Warp sound error
Post by: HLD_Prophecy on January 22, 2018, 09:06:28 pm
Gotcha, thanks. I'll just ignore it then.
Title: Re: Warp sound error
Post by: Spoon on January 23, 2018, 07:34:28 am
Something something, making this minor issue into a debug warning instead of a log mention was a mistake something something  :p
Title: Re: Warp sound error
Post by: karajorma on January 23, 2018, 03:32:19 pm
Making it into a debug warning means people fix it. :p
Title: Re: Warp sound error
Post by: HLD_Prophecy on January 23, 2018, 04:59:44 pm
But why fix things when we could sweep them under the rug?  :p