jjc1138
New Member
Posts: 4
Posts: 4
|
Post by jjc1138 on Feb 18, 2015 18:54:15 GMT
Hello. I've just upgraded my Master Audio from version 3.5.4.4 to 3.5.7.3, and now I'm having a problem with a sound looping and I'm not sure if it's a bug or an error in my setup. I have a sound group with five variations and the variations are all set up with 'Use Custom Fading' turned on and the 'Fade out time' set to 0.85. The group's 'Variation Mode' is set to 'Normal' (screenshot of the setup is attached). I play the group using PlaySound3DAtTransform(), but when the sound gets to the end it loops rather than ending as it should. I did a bit of investigating and it seems that the problem occurs in SoundGroupVariationUpdater.PerformFading(). When the fade out starts MaybeChain() is called (at line 284), and that cues up another variation of the sound. Is that a bug, or have I done something wrong? Attachments:
|
|
|
Post by DarkTonic Dev on Feb 19, 2015 0:40:48 GMT
Hello. I've just upgraded my Master Audio from version 3.5.4.4 to 3.5.7.3, and now I'm having a problem with a sound looping and I'm not sure if it's a bug or an error in my setup. I have a sound group with five variations and the variations are all set up with 'Use Custom Fading' turned on and the 'Fade out time' set to 0.85. The group's 'Variation Mode' is set to 'Normal' (screenshot of the setup is attached). I play the group using PlaySound3DAtTransform(), but when the sound gets to the end it loops rather than ending as it should. I did a bit of investigating and it seems that the problem occurs in SoundGroupVariationUpdater.PerformFading(). When the fade out starts MaybeChain() is called (at line 284), and that cues up another variation of the sound. Is that a bug, or have I done something wrong? Thanks for the investigating. It's acting like "Chained Loop" because it's not checking. Change line 283 to this and it will be fixed: if (GrpVariation.PlaySoundParm.IsChainLoop && !_fadeOutStarted) {
This will be in the next update.
|
|
jjc1138
New Member
Posts: 4
Posts: 4
|
Post by jjc1138 on Feb 19, 2015 20:19:24 GMT
That's working perfectly now. Thank you so much for such a quick response.
|
|
|
Post by DarkTonic Dev on Feb 19, 2015 23:37:19 GMT
Any time
|
|