Re: [Alsa-user] Invalid argument when setting periods, buffer, rate

2020-07-02 Thread Sleep
> it's not guaranteed all hardware drivers support all period sizes. Thank you very much, Kai; for now that is what I needed to know. The real issue turned out to be the buffer size. Based on what you said, I suppose my sound card doesn't support small buffers. __

Re: [Alsa-user] Invalid argument when setting periods, buffer, rate

2020-07-02 Thread Kai Vehmanen
Hey, On Wed, 24 Jun 2020, Sleep wrote: > Why does the program below issue errors for > snd_pcm_hw_params_set_period_size(), snd_pcm_hw_params_set_buffer_size(), and > snd_pcm_hw_params_set_rate()? If I raise the value of SAMPLES to 768 it only I highly recommend to review well known clients like

[Alsa-user] Invalid argument when setting periods, buffer, rate

2020-06-24 Thread Sleep
Why does the program below issue errors for snd_pcm_hw_params_set_period_size(), snd_pcm_hw_params_set_buffer_size(), and snd_pcm_hw_params_set_rate()? If I raise the value of SAMPLES to 768 it only issues an error to snd_pcm_hw_params_set_rate(). The value "512" is important here since I am p