Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualSimonForsman

Posted 14 May 2013 - 05:35 AM

It is expensive to change the listener settings in DirectSound, which is why you use the CommitDeferredSettings function (to apply all changes at once), as for why it involves the registry i'm not sure.

 

It shouldn't really be a hotspot though since you shouldn't have to call that function all that often. (once per listener and frame should be enough, and you probably don't need more than one listener)


#1SimonForsman

Posted 14 May 2013 - 05:34 AM

It is expensive to change the listener settings in DirectSound, which is why you use the CommitDeferredSettings function (to apply all changes at once), as for why it involves the registry i'm not sure.

 

It shouldn't really be a hotspot though since you shouldn't have to call that function all that often. (once per listener and frame should be enough, and you probably don't need more than one listener)


PARTNERS