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 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to