snd_pcm_hw_params_set_buffer_size returns -EINVAL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

this happens in [1]. You can also call snd_pcm_hw_params_set_buffer_size() 
before snd_pcm_hw_params() (that's probably better?), it always results in (-
EINVAL).

The google-answers did not help. Any idea? In my case, the buffer size is 256, 
but it also fails is I use 32768.

Thanks on advance!
- Johannes

[1] 
https://github.com/zynaddsubfx/zynaddsubfx/blob/master/src/Nio/AlsaEngine.cpp#L331-L335


------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux