From mboxrd@z Thu Jan 1 00:00:00 1970 From: Volker Schroer Subject: Re: Problem with M5455 card Date: Mon, 06 Nov 2006 21:35:41 +0100 Message-ID: <454F9C9D.8080008@gmx.de> References: <454DADAE.3020609@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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: Takashi Iwai Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org >> . >> >> I set the card to FLOAT_LE format. >> > > What did you set exactly? Set hw_params calls with format = FLOAT_LE > from application? > Yes, this is my .asoundrc pcm.LinPSK_card { type hw card M5455 } pcm.LinPSK { type plug slave.pcm LinPSK_card } and I open LinPSK. >> If I read the samples with snd_pcm_readi, I get invalid values ( 10*e34 >> ) from time to time, although the result code of readi does not signal >> any errors. >> >> Is there a way to check if the read values are valid inside the driver >> ? I think, there is a problem inside the driver. Using a delta 44 >> soundcard, the problem is gone. >> > > I guess it's rather a conincidence that it worked with another card. > Or, possibly, conversion between S16 and float in alsa-lib plugin > might be broken. > > Well, but not all samples contain bad values. Only after some times some bad values appear. Volker ------------------------------------------------------------------------- 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 easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642