bearson wrote:igorzwx wrote:What is ugly? The real world is not one-dimensional.
There are many factors which affect sound quality, and to achieve the best possible result, you have to compromise and optimize.
You're right.
Indeed, I want to try to implement a simple flexible scriptable DSP, something like Winamp SPS, maybe in lua (LuaJIT now seems promising).
Performance always conflicts with flexibility / portability.
If performance is not critical (for example, HD video decoding, or 3D game rendering), I perfer flexibility.
Imagine that you can use plugins with vmix to add resamplers or effects.
The real problems with vmix is that you get overtones of 50Hz on cheap notebooks (such as Dell ones).
But the same is with any "software solutions".
vmix might be the least possible evil.
With ALSA, this problem is more severe, not to mention about PulseAudio.
EDIT: You can make sound processing in hardware, in the kernel, or in the userland.
In OSS4, mixing is implemented within kernel space. There are many reasons for this.