All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Richard Cochran <cochran@cs.umass.edu>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: documentation - yeah right!
Date: Thu, 22 May 2003 14:47:27 +0200	[thread overview]
Message-ID: <s5hof1vqhb4.wl@alsa2.suse.de> (raw)
In-Reply-To: <20030521120928.C793@loki.cs.umass.edu>

At Wed, 21 May 2003 12:09:28 -0400,
Richard Cochran wrote:
> 
> On Wed, May 21, 2003 at 11:24:35AM -0400, Paul Davis wrote:
> > Nobody disagress with the sentiment of the original poster. At least a
> > half-dozen to a dozen people have wandered onto this list and said
> > they would write documentation. It hasn't happened. Why? Its not
> > because its considered to be useless. It hasn't happened because
> > nobody has the time or inclination to write it. So far. Thats
> > all. There is no opposition to higher level documentation, only a lack
> > of time or motivation.
> 
> It is really hard to write higher level documentation after the
> project is finished!
 
oh, already finished?  i didn't know.
version 1.0 is the "starting point", i'd like to call :)

> With a name like "Advanced Linux Sound Architecture", I would expect
> to be able to read about:
> 
> 1. What is advanced (over OSS) in Alsa?
> 
> 2. What is the architecture?

many people already explained about the first point, so i won't say
much.  the following points are however still noteworthy:


- ALSA is not only the driver.

  ALSA consists of ALSA drivers, ALSA libraries and some utilities.
  that's why ALSA stands for "architecture".

  hence, comparison only the ALSA driver with OSS makes no sense at
  all.  as you know, OSS is only the driver.  (i know there is liboss,
  but AFAIK, no one uses it.)

  using sox or your own library is, of course, a workaround for OSS.
  but then you need extra things apart from the standard -- that is,
  it's no longer OSS itself.


- ALSA model is still Unix style (somehow).

  it's still based on open/close/read/write style (except for mmap).
  you'll need ioctl additionally to set up, but it's anyway necessary
  for "normal" OSS apps.
  

- ALSA library is the low-level library.

  ALSA-lib is written to cover the whole functionality of ALSA
  kernel drivers, plus the user-space extensions (such as plugins) and
  user-drivers.

  sure, OSS API is much simpler and easier to understand.
  it's because OSS API provides only too simple models and functions,
  which are not applicable to professional audio software.

  the ALSA-lib is not what makes programming easier but provides you
  the fundamental to access the ALSA system.  there are so many
  functions which are usually not necessary.
  you can see some analogy to Xlib -- you can write apps with it, but
  it's not easy as you think (although the minimal codes wouldn't be
  too difficult).


i personally do NOT recommend to write EVERYTHING with ALSA-lib.
it would be much better to have a higher-level abstraction library,
just like many graphic toolkit libraries do.  then you can hide the
complex things in a higher library without knowing the detail of
lowlevel implementations.

so, to my eyes, the real problem is that there are not many such
libraries yet.  of course, the documentation is inevitablly
necessary -- i mean apart from that.


ciao,

Takashi


-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge

  parent reply	other threads:[~2003-05-22 12:47 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-20 20:10 documentation - yeah right! Cliff Bradshaw
2003-05-20 20:16 ` Jaroslav Kysela
2003-05-20 20:31 ` Josh Green
2003-05-20 20:52 ` Kai Vehmanen
2003-05-20 22:11   ` David Stuart
2003-05-20 22:08 ` Paul Davis
2003-05-20 23:53 ` Drake Wilson
2003-05-21  5:02   ` Patrick Shirkey
2003-05-21  7:34 ` Giuliano Pochini
2003-05-21 14:43   ` Richard Cochran
2003-05-21 15:24     ` Paul Davis
2003-05-21 15:50       ` Paul Davis
     [not found]     ` <200305211518.h4LFI2jE027163@mail.cs.umass.edu>
2003-05-21 15:59       ` Richard Cochran
2003-05-21 16:52         ` Kai Vehmanen
2003-05-21 17:16           ` Richard Cochran
2003-05-21 17:36             ` Kai Vehmanen
2003-05-21 17:39             ` Jaroslav Kysela
2003-05-21 17:49             ` Paul Davis
2003-05-21 17:03         ` Paul Davis
     [not found]         ` <200305211657.h4LGvKjE024721@mail.cs.umass.edu>
2003-05-21 18:08           ` Richard Cochran
2003-05-22  1:28             ` Patrick Shirkey
2003-05-21 16:09       ` Richard Cochran
2003-05-21 16:44         ` Paul Davis
2003-05-22 13:16           ` PCI write barrier Giuliano Pochini
2003-05-23 10:30             ` Takashi Iwai
2003-05-22 12:47         ` Takashi Iwai [this message]
2003-05-22 13:39           ` documentation - yeah right! Jaroslav Kysela
2003-05-22 14:51             ` Pieter Palmers
2003-05-22 14:18           ` Richard Cochran
2003-05-22 15:33             ` Takashi Iwai
2003-05-22 16:57               ` Jack O'Quin
2003-05-22 17:03               ` Patrick Shirkey
2003-05-22 17:08               ` Richard Cochran
2003-07-11  0:23     ` i810 - no sound from cvs snapshot Richard Cochran

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=s5hof1vqhb4.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=cochran@cs.umass.edu \
    /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.