From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lu Guanqun Subject: Re: aplay throws error Date: Mon, 9 May 2011 08:31:28 +0800 Message-ID: <20110509003128.GA6952@qtel.sh.intel.com> References: <4DC4F447.4040607@gmail.com> <20110507142934.GD13216@qtel.sh.intel.com> <4DC580EA.9030802@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by alsa0.perex.cz (Postfix) with ESMTP id 8D4F410380A for ; Mon, 9 May 2011 02:32:44 +0200 (CEST) Content-Disposition: inline In-Reply-To: <4DC580EA.9030802@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: preetam Cc: "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org On Sun, May 08, 2011 at 01:27:06AM +0800, preetam wrote: > On Saturday 07 May 2011 07:59 PM, Lu Guanqun wrote: > > On Sat, May 07, 2011 at 03:27:03PM +0800, preetam wrote: > >> Hai, > >> > >> My aplay throws the following error: > >> > >> Playing WAVE 'Linkin Park - New divide.wav' : Signed 16 bit Little > >> Endian, Rate 44100 Hz, Stereo > >> aplay: aplay.c:1029: set_params: Assertion `err>= 0' failed. > > Hi, > > > > What's your version of alsa-utils? > > I don't see the assert(err>= 0) on line 1029 on the latest repository > > code. > > > > Well, if this utilizes your newly written driver, I would suggest you > > insert some logs in your hw_params callback in driver. It might actually > > be your driver's mis-behavour. > > > > I'm not an expert on alsa, so it's just my 2 cents... > > > >> Aborted by signal Aborted... > >> > >> > >> I am using a pandaboard. Kernel is 2.6.35 from omap tree L27.11.1. > >> > >> I am new to alsa and I have written an soc driver for this. > >> can anyone help me. > >> > >> I can only trace the function calls to alloca. I am blank from here on. > >> > >> Regards, > >> Preetam > >> _______________________________________________ > >> Alsa-devel mailing list > >> Alsa-devel@alsa-project.org > >> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > Hai, > > I dont know how to check the alsa-utils version. Its part of android > gingerbread source tree. > There is also an ambiguousness as to whether its a problem with > hw_params or sw_params function. > Is there any way I can use something as simple as ctags with vim in > android source tree? > > Is there any updated documentation for starters in alsa soc for the new > pandaboard 2.6.35 kernel? Hi, I'm not familar with pandaboard, not sure whether there's any documentation for this. > I want to learn and master, but I am only getting information in bits > and pieces. > > Regards, > Preetam > -- guanqun