[Pkg-alsa-devel] Re: Trying to test timidity for ALSA incompatibility, please help :)

Henrique de Moraes Holschuh hmh@debian.org
Sat, 24 Jan 2004 09:44:57 -0200


On Sat, 24 Jan 2004, David B Harris wrote:
> Hey there. The Debian ALSA team (of which I'm a part) is going to be
> uploading a new version of libasound2 to unstable soon, and it includes
> a source incompatibility with previous versions.
> 
> The short of it is that an API change was introduced a while ago, but
> compatibility code was in place and the default was to use the old API.
> However, with the most recent release, that's changed; now you need to
> add the following defines before you include <asound.h> or
> <alsa/asoundlib.h> (or any header with prototypes the functions in
> question):
> 
> #define ALSA_PCM_OLD_HW_PARAMS_API
> #define ALSA_PCM_OLD_SW_PARAMS_API
> 
> We're filing pre-emptive bugs on packages which are fixed by adding
> those defines, but I wasn't able to really figure out why yours failed
> to build. I had hoped you could lend a hand - attached is a log of the
> build failure.
> 
> Thanks in advance for any help.

TiMidity uses the alsa sequence _server_ interface, so that it can
attach to ALSA as a sequencer for other programs to send events to.

Did anything change in that API?

-- 
Henrique