On Thursday 02 July 2009 4:21:31 pm Troy Yee wrote:
> In alsa.c: ALCboolean alsa_open_capture(..) function,
> in line 632 and 658, the third passed in argument for
> psnd_pcm_hw_params_set_format should be alsaFormat, instead of
> data->format as alsaFormat is the format that the caller specified
> when trying to open the capture device.
>
> Looking at alsa_open_playback, an update was done by
> replacing/renaming alsaFormat with data->format, and pass
> data->format into psnd_pcm_hw_params_set_format. I believe they
> probably just missed the same update in alsa_open_capture(..).I don't have
> access to the code at the moment so I haven't been able to confirm the
> conclusion.
Thanks for spotting that. It was indeed a copy-paste error. I have that fixed
in GIT/SVN, now. There was also another bug causing it to not fallback to non-
mmap capture properly.
_______________________________________________
Openal mailing list
Openal@...
http://opensource.creative.com/mailman/listinfo/openal