[alsa-devel] Problem restarting alsa: can't set buffer size

Clemens Ladisch cladisch at fastmail.net
Wed Jun 6 08:21:51 CEST 2007


Juan Manuel Lopez Baio wrote:
> The problem is that afterwards, if I restart the application, I can't set up
> ALSA, becausea continuous calls to snd_pcm_hw_params_set_buffer_size always
> fail  (I start with a buffer size of 8192 and keep dividing it by 2).

What values are returned by snd_pcm_hw_params_get_buffer_size_max()
and _min()?

Why do you try to set a buffer size?

> I finally have to restart the system in order to get it to work again.

Which sound driver are you using?


Regards,
Clemens


More information about the Alsa-devel mailing list