On Mon, Sep 18, 2006 at 01:58:59AM +0200, Jan Zerebecki wrote:
I explained in a different mail to this thread what bugs are in winealsa. (Archive link to that mail is: http://www.winehq.org/pipermail/wine-devel/2006-September/050826.html )
It seems I just found out how to fix the other winealsa problem I mentioned in that mail, I'm currently testing if it works.
The intention is to get the same buffer size (in bytes) for different formats, because dsound expects this (according to our dsound tests).
I tried with the attached patch but snd_pcm_hw_params_set_buffer_size_near sets different than the requested size and snd_pcm_hw_params_set_buffer_size doesn't work at all. I don't know if this is because I am not familiar with the api or because of a bug in it. Can anyone shed some light on this who is more familiar with the alsa-lib api?
Jan