AFAIK, the available options are all lousy, and I wouldn't suggest starting any new project in perl using sound input until the situation improves.
Audio::DSP leaks memory, and the bug report on the memory-leak bug has been open since 2003.
Audio::OSS depends on OSS, but OSS emulation on Linux has been deteriorating rapidly in quality. It was removed by default in ubuntu 10.10, and you have to jump through extra hoops to get it to work (e.g., installing the also-oss package and invoking your program foo as "aoss foo"). I have experienced a lot of problems with bugs and poor performance, and these can be difficult to test for, since they depend, e.g., on what version of ubuntu you're running.
What is really missing right now is any kind of ALSA interface for linux. Either that or you could wait five years and hope that the quality of OSS emulation becomes acceptable.
|