From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: ALSA hw sample rate conversion support Date: Wed, 30 Mar 2011 15:27:59 +0200 Message-ID: <4D932FDF.2020907@ladisch.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by alsa0.perex.cz (Postfix) with ESMTP id 65C5A24373 for ; Wed, 30 Mar 2011 15:26:44 +0200 (CEST) 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: Aisheng Dong Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Aisheng Dong wrote: > Does ALSA core support hw sample rate conversion now? Yes; this has always been supported for chips like Emu10k1. > I wonder if current ALSA core provide interface to support hw sample > rate conversion? In your driver, set the ..._CONTINUOUS flag in the rates field (see the section "Hardware Description" in the doc), and in the hw_params callback, program the SRC according to the selected rate. Regards, Clemens