From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: Problem with "set_period_size" Date: Fri, 24 Feb 2012 14:01:18 +0100 Message-ID: <4F478A1E.2040105@ladisch.de> References: <4F465460.4020106@ladisch.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by alsa0.perex.cz (Postfix) with ESMTP id A0CBA104271 for ; Fri, 24 Feb 2012 13:58:42 +0100 (CET) Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 94062206FF for ; Fri, 24 Feb 2012 07:58:39 -0500 (EST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Alicia Romero Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Alicia Romero wrote: > I forgot to write that at the end I activate all the params using: > > /* Activate the parameters */ > result = snd_pcm_hw_params (stream->pb_pcm, params); > if (result < 0) { If set_period_size fails, params has not been changed. Regards, Clemens