[openal] pulseaudio default capture device

Chris Robinson chris.kcat at gmail.com
Fri Aug 8 22:56:30 EDT 2014


On 08/08/2014 01:32 PM, Peter Hunnisett wrote:
> Hi,
>      was playing around with OpenAL and found that alcCaptureOpenDevice
> was failing in my windows cygwin setup which is using PortAudio2. A bit
> of investigation later it seems that the default capture device in
> pa_open_capture is using the default output device rather than the
> default input device. I have no way of building the source on cygwin to
> totally confirm it solves the problem but I have:
> 1) done a runtime modification of the returned device in a debugger
> 2) setup a config file to provide the default device
>
>     Both of these seem to give me success in allowing the correct device
> (microphone) to be selected. I can now progress to see if I can get the
> rest of my code working.
>
>     I've attached a diff of my proposed solution. Unfortunately it's
> against the cygwin package but the source looks like it still has
> basically the same code in the git repo.

Thanks for catching that. It needs to handle the dynamic loading macros 
as well, but I got that. Fixed in Git, now.


More information about the openal mailing list