All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with __OLD_GET
@ 2004-01-15 14:23 Arve Knudsen
  2004-01-16 18:57 ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Arve Knudsen @ 2004-01-15 14:23 UTC (permalink / raw)
  To: alsa-devel@lists.sourceforge.net

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.

Thanks

Arve Knudsen


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-01-16 22:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-15 14:23 Problem with __OLD_GET Arve Knudsen
2004-01-16 18:57 ` Takashi Iwai
2004-01-16 21:12   ` Arve Knudsen
2004-01-16 22:57     ` Rene Rebe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.