From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stas Sergeev Subject: Re: underruns and strange code in pcm_rate.c Date: Fri, 09 Nov 2007 21:17:44 +0300 Message-ID: <4734A448.7000909@aknet.ru> References: <472E5A64.6010705@aknet.ru> <473091F4.80105@aknet.ru> <4731F2F4.2080704@aknet.ru> <4732097E.3040401@aknet.ru> <4732C455.7040503@aknet.ru> <473488CA.7050308@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail.aknet.ru (mail.AKNET.ru [77.246.241.226]) by alsa0.perex.cz (Postfix) with ESMTP id BFD1424399 for ; Fri, 9 Nov 2007 19:16:35 +0100 (CET) In-Reply-To: <473488CA.7050308@freescale.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: Timur Tabi Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Hello. Timur Tabi wrote: >> For example, set >> slave.periods 3 >> slave.period_size 4096 >> then you'll hear the improvement, I guess. > Can someone tell me exactly where I'm supposed to put those two lines? /etc/asound.conf for instance, or ~/.asoundrc Like this: --- pcm.swmix { type dmix ipc_key 1111 slave.pcm "hw:0,0" slave.periods 3 slave.period_size 4096 } --- Also change the "default" to use it, like this: --- pcm.!default { type plug slave.pcm "swmix" } --- (that's also where "rate" gets into play - "plug" may use it)