Incorrect clamp for stereo pan on the Audio Track

Slate Forums Support Incorrect clamp for stereo pan on the Audio Track

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1259
    Breaking Fourth
    Participant

    In PlayAudio.cs,

    source.panStereo = Mathf.Clamp01(stereoPan + track.stereoPan);

    should be

    source.panStereo = Mathf.Clamp(stereoPan + track.stereoPan, -1f, 1f);

    😉

    #1262
    Gavalakis
    Keymaster

    Oh.. Correct 🙂
    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.