(04-13-2014 10:47 PM)yvanvds Wrote: Because I suspect you'll think this is a real bad idea
Not at all, I had in mind the benefits of doing that before reading the rest of your post
Well if you consider other sound engines, OpenAL, DirectSound, etc. then in the end I guess they end up doing the same as you do in your engine. It's all about mixing all sound sources, and outputting them into the correct channels (mono/stereo/5.1 etc.)
If you do it manually, through your own codes, then you end up having more freedom and same exact behavior on all platforms.
Current implementation in EE manages to work the same everywhere, although there are a few drawbacks:
-OpenSL limitations of sound speeds
-no reverb
-no limiting to only some important sounds (all sounds that are requested to played, all are processed)
Your approach is attractive, and if I had unlimited time on my hands, I'd probably try doing something similar.