From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Problem with __OLD_GET Date: Fri, 16 Jan 2004 19:57:23 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Arve Knudsen Cc: "alsa-devel@lists.sourceforge.net" List-Id: alsa-devel@alsa-project.org At Thu, 15 Jan 2004 15:23:06 +0100, Arve Knudsen wrote: > > Hi > > Like I explained in a post some time back, I've been having problems with > not getting correct values from snd_pcm_hw_params functions (specifically > snd_pcm_hw_params_get_channels_max). I never got an answer though, and the > problem disappeared for a while. However it has reappeared, so I decided > to find the source (no pun intended) of the problem. It turns out for some > reason the deprecated symbols are getting called (__OLD_GET), so when I > expect to have the passed value pointer filled in, all that happens is it > gets zeroed. I'm afraid I don't understand all the preprocessor magic, so > I don't completely understand why this happens. That is, the correct > versions of these functions have been called correctly, but suddenly the > old ones are used instead. > > Maybe its down to some weird linking problem, it only happens with a > dynamically loaded PortAudio plugin I've written for an xmms fork called > beep-media-player. If anyone could come up with a likely explanation as to > what's going on here, I'd be grateful. Is there some mechanism that > figures my lib is linked against an old version of ALSA-lib? Btw, I'm > using ALSA-lib 1.0.1, and drivers compiled into 2.6.1-mm2. is libtool enough new? otherwise this kind of confusion can happen. Takashi ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn