Alicia Romero wrote: > stream->pb_frames = (snd_pcm_uframes_t) 640; > snd_pcm_hw_params_set_period_size (stream->pb_pcm, params, > &stream->pb_frames, NULL); You forgot to check the return value. I'd guess it's -EINVAL. Regards, Clemens