XNA Creators Club Online
Page 1 of 1 (2 items)
Sort Posts: Previous Next

Distance Attenuation is being Ignored.

Last post 09-06-2008 6:16 PM by Dr Zoop. 1 replies.
  • 09-06-2008 5:45 PM

    Distance Attenuation is being Ignored.

    As anyone who has setup distance attenuation in XACT should know, it's simple.  Underneith variables, click on Distance, then in the Variable range, set it.  Done.  Right?

    Some facts:

    • I am ticking the audio system.
    • I am calling Apply3D to each active cue every tick.
    • I am moving the emitters.
    • I am moving the listener.
    • I set the variable range inside of Distance to be between 0 and 100.  This should technically cut off all sounds according to my world scaling.
    • I have looked the the distances between the emitters and the listeners, as they are being updated for Apply3D... they are way beyond 100.
    • I have tested with a single emitter at the origin and moving the listener around.  Still no attenuation.
    • I have tried with a non-looping and a looping sound.  No difference.
    • The sample works fine.
    • I am disposing finished cues.
    • Stereo does work, based on the listener's orientation.

    So... why doesn't it attenuate?

  • 09-06-2008 6:16 PM In reply to

    Re: Distance Attenuation is being Ignored.

    Well, speaking of ignoring, this post can be ignored!

    I screwed up the RPC.  This is what I get for rushing :-(.

    Sorry for the waste of space.

Page 1 of 1 (2 items) Previous Next