From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: Use of snd_pcm_format_set_silence Date: Thu, 21 Jan 2016 08:43:11 +0100 Message-ID: <56A08C0F.8070902@ladisch.de> References: <56A002A2.5070200@ladisch.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from dehamd003.servertools24.de (dehamd003.servertools24.de [31.47.254.18]) by alsa0.perex.cz (Postfix) with ESMTP id 02CE32604EF for ; Thu, 21 Jan 2016 08:43:13 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Ankhit Vivekananda Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Ankhit Vivekananda wrote: > the snd_pcm_format_set_silence() would simply /replace/ the actual > buffer read from snd_pcm_readi() to zeros(since my application is > using signed 32 bit little endian format). Yes. > There would be no delay induced in doing so. Yes; this function does not block. Regards, Clemens