MrEricSir/Modipulate — Issue #48: Switch to PortAudio
Author: MrEricSir
Created: 2012-01-17 06:18:14+00:00
State: open

You know what? OpenAL is too laggy. Or to put it another way, there's no good way to tune OpenAL so it works equally well on accelerated and non-accelerated systems. And most of the time you don't need 3d output for music anyway (though sometimes it's nice.)

We have a working PortAudio branch that has orders of magnitudes less lag. PortAudio automatically computes the buffer size for you and uses a high-priority thread to schedule audio. Baring any objections, let's make Modipulate use PortAudio before the 0.1 release.

If in the future we ever decide to offer an OpenAL output option, it will require a buffer size to be set by the user since we're not in the business of automatically computing things that could change drastically from one setup to the next.