From: Takashi Iwai Subject: Re: [PATCH] sparc dbri: hardware constrains added Date: Wed, 23 Aug 2006 20:18:42 +0200 Message-ID: References: <44eb445108302@wp.pl> <44ec33bc0f4e0@wp.pl> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <44ec33bc0f4e0@wp.pl> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Krzysztof Helt Cc: alsa-devel List-Id: alsa-devel@alsa-project.org At Wed, 23 Aug 2006 12:53:48 +0200, Krzysztof Helt wrote: > = > Dnia 23-08-2006 o godz. 11:39 Takashi Iwai napisa=B3(a): > > Missing braces in debug prints of dbri_cmdsend(), but others look > > fine. I queued the fixed patch on my tree. Will be committed > to the > > upstream soon. > > = > > BTW, dprintk() should use "do { } while (0)" so that it can be > used = > > safely without extra blocks. > > = > = > I haven't catched it because debug prints are disabled by the > patch. It will be fixed in the next one. > = > I started testing the OSS layer and it does not work on sparc32. > Is it something broken in the OSS layer for sparc or it is likely > a driver issue? > = > Before my series of patches, I got no sound through the OSS > layer. With the patches I got sound but it is played too fast and > deformed (random jumps in music play). I found the OSS layer > works by continously starting and stoping sound after each block > to send. Is it normal behaviour? Doesn't look so. Perhaps the PCM middle layer detected XRUN (e.g. due to invalid DMA pointer) and automatically restarted? = Is prepare called between the frequent triggers? Takashi ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easi= er Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1= 21642