RE: [Alsa-user] ALSA - CMI8788 card - sound not playing.
Brought to you by:
perex
From: Clemens L. <cl...@la...> - 2005-08-31 12:51:46
|
sak...@wi... wrote: > > Where does the buffer_size variable come from? Is it initialized? > > With what value? > > It is initialized with zero. I am passing it to the > snd_pcm_hw_params_set_buffer_size_near(). In this case, ALSA will try to set a buffer size that is as near as possible to zero, i.e., it will select the smallest possible buffer. If you don't know what buffer size to set, just don't set it to get the default. HTH Clemens |