From: Takashi Iwai Subject: Re: Crackly sound with dmix rate 48000 Date: Tue, 10 Nov 2009 08:44:38 +0100 Message-ID: References: <1257773674.2180.27.camel@polyethylene> 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 (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 42F91103872 for ; Tue, 10 Nov 2009 08:44:39 +0100 (CET) In-Reply-To: <1257773674.2180.27.camel@polyethylene> 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: Daniel Drake Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 09 Nov 2009 13:34:34 +0000, Daniel Drake wrote: > > Hi, > > In our musical activities, the OLPC/Sugar platform uses csound which in > turn uses ALSA for playing sounds. > > On our latest XO hardware model, where we now use HDA instead of cs5536, > we are experiencing some crackly sounds from our csound-based > applications. Other apps are fine. > > We discovered that changing the dmix rate from 48000 to 44100 solves the > cracklyness. > > What does this indicate? > > Might csound be producing sounds at rate 44100, which dmix previously > had to convert to 48000, which was too taxing to the system? Might be. Another possible problem is the position update bug. Try to pass position_fix=1 option and/or bdl_pos_adj=0 to snd-hda-intel module. Takashi