Guilherme Longo wrote: > I am trying to understand a piece of a code I am studing . > What does exactly the functions snd_pcm_hw_params_set_period_time_near > sets? The period time. > In my understand period time should be the time between 2 consecutive > samples, In ALSA, a period is the interval between consecutive interrupts from the sound card; this is the same as a fragment in OSS. When the application tries to write/read more than than would be available, ALSA waits until the next period boundary before checking again. HTH Clemens _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel