Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: barat@medien.uni-weimar.de
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: migrating from old to new alsa-api
Date: Thu, 22 Apr 2004 16:11:57 +0200	[thread overview]
Message-ID: <s5hekqgnlua.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.56.0404221556500.4307@spring>

At Thu, 22 Apr 2004 15:57:13 +0200 (CEST),
barat@medien.uni-weimar.de wrote:
> 
> Hi,
> i need some clarifying about how the defines ALSA_PCM_OLD_HW_PARAMS_API 
> etc. behaves.
> for alsa-1.x its clear that if the app uses the new api i have to define 
> ALSA_PCM_NEW_HW_PARAMS_API,

no, with ALSA 1.x, the new API is chosen as default.

> but what is for the case if i have an app with 
> the new api and the user uses only alsa9?

if user recompiles the code with the old API, he has to add
ALSA_PCM_OLD_* defines.

>  is alsa1.x then backwards 
> compatible?

yes.  the alsa-lib contains the versioned symbols for the backward
comptibility.


Takashi


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

  reply	other threads:[~2004-04-22 14:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-22 13:57 migrating from old to new alsa-api barat
2004-04-22 14:11 ` Takashi Iwai [this message]
2004-04-24 15:52 ` James Courtier-Dutton

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=s5hekqgnlua.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=barat@medien.uni-weimar.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox