From: Takashi Iwai Subject: Re: Default Sample rate Conversion Date: Thu, 24 May 2007 19:13:58 +0200 Message-ID: References: <49f264960705222140n56b7b561r70102cf17d6991cf@mail.gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id F0A0B24431 for ; Thu, 24 May 2007 19:13:58 +0200 (CEST) In-Reply-To: <49f264960705222140n56b7b561r70102cf17d6991cf@mail.gmail.com> 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: Prabhu Sivaraja Cc: ALSA development List-Id: alsa-devel@alsa-project.org At Tue, 22 May 2007 21:40:43 -0700, Prabhu Sivaraja wrote: > > Does ALSA automatically convert to my devices sample rate? > My alsa.conf file is below > > pcm.mix { > type dmix > ipc_key 1024 > slave { > pcm "hw:0,0" > rate 48000 > } > } > pcm.!default { > type plug > slave.pcm "mix" > } > > When I play a 32KHz file with aplay does it get up sampled to my device's > 48KHz sample rate? I am assuming it does as it plays just fine but I am not > sure where the upsampling happens? Yes, the plug plugin does almost everything including upsamling. Takashi