Giter VIP home page Giter VIP logo

Comments (2)

kcat avatar kcat commented on June 29, 2024

Since commit d3cc867, the default auxiliary effect slot count has been raised to 64 and the maximum number of source sends is raised to 16.

Note that for the effect slots, having an effect slot generated can incur some processing cost even if nothing is feeding it, so it's best to only allocate what you need to use. The cost can be minimized by setting a null effect type on unused slots, though not having it at all when it's not used is even cheaper.

For source sends, the default you get is 2. You can use ALC_MAX_AUXILIARY_SENDS with context creation or device reset attributes to request more, up to 16 (you can try to request even more, but it'll be clamped; query ALC_MAX_AUXILIARY_SENDS using alcGetIntegerv afterward to see what you got). Having more sends does slightly increase CPU cost since it's more properties that need to be processed for each active source, but it shouldn't be too bad.

Let me know if using the higher counts causes a problem. There's not too much that stresses a high number of effects and sends, so some feedback would be appreciated.

from openal-soft.

kcat avatar kcat commented on June 29, 2024

Closing since the number of effect slots has been significantly increased, and the number of source sends has increased as well. Even on modern systems, I don't expect this could be increased much further without performance problems, though there's always room for more general improvements.

from openal-soft.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.