Comments (2)
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.
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)
- Audio Delay on Wear OS (Android) HOT 1
- Array iterator out of bounds when attaching effect to effect slot HOT 2
- [suggestion] on SCUT KEMAR HRTF HOT 4
- Capture buffer size doesn't affect latency HOT 1
- Remove limitation of of 256 sources HOT 2
- Is alGetError() error state independent for each thread? HOT 4
- Resampled delay exceeds max (84.50 > 63) when at 96k (non-issue) HOT 1
- Prioritize soft_oal in the router DLL / Make the router only load "wrap_oal" as a fallback HOT 1
- undefined hardware_destructive_interference_size HOT 5
- Calling alGetError after dynamically loading Win64/soft_oal.dll procs returns 0xA004 (AL_INVALID_OPERATION) HOT 2
- PFFFT compile failure in Windows ARM64 HOT 2
- Error when opening a device with multiple devices HOT 4
- Sending multichannel samples directly to speakers HOT 2
- [question] about loading "AL_EXT_direct_context" functions (posted here because openal.org mailing list is dead apparently) HOT 2
- [Question]Obtaining Ambisonic output in Windows HOT 12
- Muffled sound with Cubic resampler ever since using Gaussian filter. HOT 6
- [Possibly bug] Failed to compile on GCC 8.3.0 HOT 5
- New language binding: Freepascal/Lazarus
- Eager detection and usage of sndio can be problematic on Linux HOT 7
- Build failure when compiling as a CMake subdirectory with MinGW. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openal-soft.