From: Takashi Iwai <tiwai@suse.de>
To: Jaroslav Kysela <perex@perex.cz>
Cc: Chris Rankin <rankincj@yahoo.com>,
"alsa-devel@lists.sourceforge.net"
<alsa-devel@lists.sourceforge.net>
Subject: Re: new "in-compatible" alsa-lib PCM API
Date: Wed, 18 Sep 2002 17:00:45 +0200 [thread overview]
Message-ID: <s5hhegnqr4y.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.33.0209181416130.534-100000@pnote.perex-int.cz>
At Wed, 18 Sep 2002 14:21:44 +0200 (CEST),
Jaroslav Kysela wrote:
>
> On Wed, 18 Sep 2002, [iso-8859-1] Chris Rankin wrote:
>
> > --- Jaroslav Kysela <perex@perex.cz> wrote: > On Wed,
> > 18 Sep 2002, Chris Rankin wrote:
> > > Note: If
> > > SND_COMPATIBILITY_BUILD_RC3 is defined,
> > > then applications need to fall back to 0.9.0rc3 API
> > > as well.
> >
> > So maybe we could have a --with-compat-rc3 option for
> > alsa-utils as well? Regardless of which alsa-lib I
> > build, I always need to be able to build alsa-utils.
> > And I doubt that wine and xine will get updated before
> > -rc4 is released. (Unless there's a document somewhere
> > explaining the relationship between the old and new
> > API functions, in which case I could submit patches
> > myself.)
>
> It seems, that you're not understand the compatibility.
>
> 1) build library with --with-compat-rc3 and place it to some
> other directory
> 3) build library without --with-compat-rc3, place it to
> /usr/lib as usuall
> 4) build alsa-utils and newer applications
> 5) build older applications with compatible library compiled
> with --with-compat-rc3
>
> Old and new software will co-exist without any problems. Perhaps, we
> can have some good default place for rc3 compatible library and add an
> autoconfiguration code to alsa.m4. My suggestion is to use /opt/alsa/rc3
> directory for this job. Comments?
well, i think this is too complicated. if we need two lib binaries,
then let's use different so numbers, not the different paths.
i.e.
compat-rc3 --> build libasound.so.2 without versioned symbols.
new lib --> build libasound.so.3 with versioned symbols for
the future confliction.
and how about to separate the function declarations of these two
versions into individual parts (or files) instead of combined
declarations with a macro (or ifdef)? the old functions will be never
changed in future.
... but still i'd prefer adding new functions (or changing the whole
snd_pcm_hw_params_xxx to different names such like
snd_pcm_hw_setup_xxx to avoid confliction) to modifying the existing
api functions. so there will be no compatibility problem at this
time.
ciao,
Takashi
-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
next prev parent reply other threads:[~2002-09-18 15:00 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-17 23:15 new "in-compatible" alsa-lib PCM API Chris Rankin
2002-09-18 8:56 ` Jaroslav Kysela
2002-09-18 12:02 ` Chris Rankin
2002-09-18 12:21 ` Jaroslav Kysela
2002-09-18 13:15 ` Tim Goetze
2002-09-18 13:58 ` Thierry Vignaud
2002-09-18 14:19 ` Paul Davis
2002-09-18 15:08 ` Takashi Iwai
2002-09-18 14:50 ` Tim Goetze
2002-09-18 15:07 ` Richard Bown
2002-09-18 15:18 ` Paul Davis
2002-09-18 15:28 ` Richard Bown
2002-09-18 15:17 ` Patrick Shirkey
2002-09-18 13:49 ` Paul Davis
2002-09-18 16:51 ` pkg-config (was Re: new "in-compatible" alsa-lib PCM API ) Takashi Iwai
2002-09-18 17:49 ` Andy Lo-A-Foe
2002-09-18 19:26 ` pkg-config Joerg Mayer
2002-09-18 19:46 ` pkg-config Pavel Roskin
2002-09-18 15:00 ` Takashi Iwai [this message]
2002-09-18 16:06 ` new "in-compatible" alsa-lib PCM API Jack O'Quin
2002-09-19 15:29 ` Jaroslav Kysela
2002-09-19 19:36 ` Jack O'Quin
2002-09-20 10:20 ` Takashi Iwai
2002-09-20 12:40 ` Kai Vehmanen
2002-09-21 5:41 ` Jaroslav Kysela
2002-09-18 18:58 ` Fernando Pablo Lopez-Lezcano
2002-09-18 21:30 ` Chris Rankin
2002-09-18 21:44 ` Chris Rankin
2002-09-18 12:26 ` Ville Syrjälä
-- strict thread matches above, loose matches on Subject: below --
2002-09-17 12:58 Jaroslav Kysela
2002-09-17 17:49 ` Kai Vehmanen
2002-09-17 18:29 ` Jaroslav Kysela
2002-09-18 1:08 ` Jack O'Quin
2002-09-18 9:12 ` Jaroslav Kysela
2002-09-18 9:36 ` Takashi Iwai
2002-09-18 9:46 ` Richard Bown
2002-09-18 10:06 ` Takashi Iwai
2002-09-18 10:25 ` Richard Bown
2002-09-18 14:23 ` Kai Vehmanen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hhegnqr4y.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=perex@perex.cz \
--cc=rankincj@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.