All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Dan Hollis <goemon@anime.net>
Cc: "Ville Syrjälä" <syrjala@sci.fi>, alsa-devel@lists.sourceforge.net
Subject: Re: more sample formats?  too little place left.
Date: Tue, 04 Jun 2002 13:26:17 +0200	[thread overview]
Message-ID: <s5h8z5vffom.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0206031431040.18199-100000@sasami.anime.net>

At Mon, 3 Jun 2002 14:32:43 -0700 (PDT),
Dan Hollis wrote:
> 
> On Mon, 3 Jun 2002, Takashi Iwai wrote:
> > but the question is whether we should just add such new formats as new
> > bits, or define something more ordinary.
> 
> A format descriptor structure, instead of hardcoded format types?
> 
> Of course you will want a good API support structure for handling format 
> conversions...

hmm, i don't think it must be a struct.  enum (int) could have enough
values if it's not bitmask, although the order of format enumerators
may look a bit weird.  there are already functions to retrieve a
detail information from the format type enum, such as
snd_pcm_format_width() and snd_pcm_format_little_endian().

so far, the bitmask is used only inside the alsa-driver and alsa-lib.
they must be extended in some good way.  i believe that this change
can be hidden without changing API itself, but not figure out how
should we do that yet.


Takashi

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

  reply	other threads:[~2002-06-04 11:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-31 14:23 more sample formats? too little place left Takashi Iwai
2002-05-31 18:36 ` Martijn Sipkema
2002-05-31 18:52   ` Martijn Sipkema
2002-06-03 13:43   ` Takashi Iwai
2002-06-03 15:00     ` Martijn Sipkema
2002-06-03 20:06     ` Frank van de Pol
2002-06-02  0:22 ` Ville Syrjälä
2002-06-03 13:47   ` Takashi Iwai
2002-06-03 21:32     ` Dan Hollis
2002-06-04 11:26       ` Takashi Iwai [this message]
2002-06-04 20:55         ` Dan Hollis
2002-06-10 14:42           ` Takashi Iwai
2002-06-10 20:46             ` Dan Hollis
2002-06-12 14:30               ` Takashi Iwai
2002-06-12 18:19                 ` Dan Hollis

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=s5h8z5vffom.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=goemon@anime.net \
    --cc=syrjala@sci.fi \
    /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.