On Tue, 9 Dec 2003, Maarten de Boer wrote:

> Hello,
> 
> I have been unsubscribed from alsa-devel for a while, so maybe i missed
> the discussion about this, but a quick look at the archives did not reveal
> anything.
> 
> I just downloaded alsa 1.0.0rc2, and discovered that the API changed.
> For example (and this is only an example), take the function
> snd_pcm_hw_params_set_rate_near. Before, the 3th argument was the
> samplerate requested, and the return value was the error value (<0) or
> the samplerate obtained.
> 
> err = snd_pcm_hw_params_set_rate_near(handle, params, rate, 0);
> 
> Now, the third argument is a _pointer_, used to pass the requested value
> _and_ to return the obtained samplerate. Note that the symbol is
> identical, and that an application compiled against the old version will
> happily link against the new version (but surely fail when executing!)
> (or am I missing something here??)
> 
> I clearly see the advantage of the new, cleaner, approach, but I still
> remember the past ALSA API changes, and I was under the impression that
> that would not happen again. I also thought that the 0.9.x releases were
> a straight line to work towards the 1.0 release. So I am very surprised
> to see this happen. If this has been discussed / announced somewhere,
> than I am sorry for having missed it, but in any case, I think it might
> be good to place a notice on the alsa web page.

See 
http://www.mail-archive.com/[EMAIL PROTECTED]/msg09892.html

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to