[Openal] Recording strangeness with OpenAL-Soft 1.8.466

Chris Robinson chris.kcat at gmail.com
Wed Jul 1 19:25:53 PDT 2009


On Wednesday 01 July 2009 10:09:04 am Troy Yee wrote:
> Has anyone noticed any problems capturing using OpenAL-Soft 1.8.466 on
> Linux?  I am currently looking into possible causes (including test
> environment weirdness).  The short of it is that a simple app that
> captures from the default capture device and writes captured samples to
> the default playback device has different behaviour when used with a
> previous instance of OpenAL-Soft (1.4.272 perhaps? which was correct).
> When LD_LIBRARY_PATH is set to point to older library, all is fine.
> When set to point to new library, the playback sounds like it is faster
> than it should be (speech sounds almost chipmunk-like but broken).
> Capture and playback rates are being specified and match.

Hi.

It would be very helpful to paste a small test app (with code) that shows the 
error. The only thing of note is that newer versions are more careful about 
opening the capture device with the precise capture rate given (as the OpenAL 
capture spec requires). This shouldn't break apps, though.. at least none that 
aren't already broken.

It may be helpful to say which device is actually being used, by calling
alcGetString(device, ALC_CAPTURE_DEVICE_SPECIFIER);
on the opened capture device (for both 1.4 and 1.8). Would also be helpful to 
know if PulseAudio is installed/active, or if you're using the aoss script.


More information about the Openal mailing list