On Mon, 2006-06-26 at 23:11 +0200, Gerald Grabner wrote: > Hi everybody, > > I'm wondering how to correctly build a shared library using alsa > pcm. Setting the hardware parameters in a function which is part of a > shared library produces an error, snd_pcm_hw_params gives "invalid > argument". The example below with three primitive files (main file, > header and function code) illustrates the problem. With a static > library, everything works fine. > > My system: gcc 3.4.6 on Gentoo with alsa 1.0.11. > > Does anybody have an idea about the cause of this problem or how to > solve it? > Cannot reproduce it here. It works perfectly. Toolchain bug? Lee 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