At Sun, 05 Nov 2006 10:23:58 +0100, Volker Schroer wrote: > > Hi, > I hope, this is the right list to post this question. > I'm porting an Ham- Radio application from oss to alsa. > I'm using an ASROCK motherboard with on board sound and an AMD64 dual > core. OS is gentoo linux , kernel 2.6.18, alsa-driver 1.0.13, alsa- lib > 1.0.13. > > I set the card to FLOAT_LE format. What did you set exactly? Set hw_params calls with format = FLOAT_LE from application? > 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. 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 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 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel