All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrizio Bassi <patrizio.bassi@gmail.com>
To: Jaroslav Kysela <perex@suse.cz>,
	"Kernel, " <linux-kernel@vger.kernel.org>
Subject: Re: [OT] ALSA userspace API complexity
Date: Wed, 04 Jan 2006 12:56:12 +0100	[thread overview]
Message-ID: <43BBB7DC.2060303@gmail.com> (raw)
In-Reply-To: <5rf9X-7yf-25@gated-at.bofh.it>

Jaroslav Kysela ha scritto:
> On Wed, 4 Jan 2006, Pete Zaitcev wrote:
> 
> 
>>On Wed, 4 Jan 2006 09:37:55 +0000, Alistair John Strachan <s0348365@sms.ed.ac.uk> wrote:
>>
>>
>>>>2) ALSA API is to complicated: most applications opens single sound
>>>>   stream.
>>>
>>>FUD and nonsense. []
>>>http://devzero.co.uk/~alistair/alsa/
>>
>>That's the kicker, isn't it? Once you get used to it, it's a workable
>>API, if kinky and verbose. I have a real life example, too:
>> http://people.redhat.com/zaitcev/linux/mpg123-0.59r-p3.diff
>>But arriving on the solution costed a lot of torn hair. Look at this
>>bald head here! And who is going to pay my medical bills when ALSA
>>causes me ulcers, Jaroslav?
> 
> 
> Well, the ALSA primary goal is to be the complete HAL not hidding the 
> extra hardware capabilities to applications. So API might look a bit 
> complicated for the first glance, but the ALSA interface code for simple 
> applications is not so big, isn't?
> 
> Also, note that app developers are not forced to use ALSA directly - there 
> is a lot of "portable" sound API libraries having an ALSA backend doing
> this job quite effectively. We can add a simple (like OSS) API layer 
> into alsa-lib, but I'm not sure, if it's worth to do it. Perhaps, adding
> some support functions for the easy PCM device initialization might be
> a good idea.
> 
> 						Jaroslav
> 

considering that alsa API and drivers is pretty stable i see no problem
in OSS removal.
When writing a program adding oss compatibility seems faster, but,
creates lots of problems.
check the skype example (yes i know it's closed-source). 99% of sound
problems users have is due to OSS driver usage.

that's a big problem. Needs a radical solution. Considering aoss works
in 50% of cases i suggest aoss improvement and not OSS keeping in kernel.

A good idea could be an OSS API layer over Alsa-lib...but i personally
don't know how much can that costs, considering you should link against
alsa-lib too.

This discussion seems a no-sense.
Kernel API continues to change every -rc and noone cares that.
OSS has been deprecated for a lot, and it's as old as moon.

	Patrizio

--
Patrizio Bassi
www.patriziobassi.it

       reply	other threads:[~2006-01-04 11:56 UTC|newest]

Thread overview: 155+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4uzow-1g5-13@gated-at.bofh.it>
     [not found] ` <5r0aY-2If-41@gated-at.bofh.it>
     [not found]   ` <5r3Ca-88G-81@gated-at.bofh.it>
     [not found]     ` <5reGV-6YD-23@gated-at.bofh.it>
     [not found]       ` <5reGV-6YD-21@gated-at.bofh.it>
     [not found]         ` <5rf9X-7yf-25@gated-at.bofh.it>
2006-01-04 11:56           ` Patrizio Bassi [this message]
2006-01-04 18:07             ` [OT] ALSA userspace API complexity Florian Schmidt
2006-01-04 18:46               ` Alistair John Strachan
2006-01-05 18:59             ` Lee Revell
2006-01-05 20:06               ` Patrizio Bassi
2006-01-05 20:11                 ` Lee Revell
2006-01-05 20:47               ` Patrizio Bassi
2006-01-08  7:19 linux
2006-01-08 22:08 ` Hannu Savolainen
     [not found] <5rdrx-4Yl-43@gated-at.bofh.it>
2006-01-05 14:01 ` Heikki Orsila
2006-01-05 14:24   ` Jaroslav Kysela
2006-01-05 14:45     ` Heikki Orsila
2006-01-10  9:22       ` Jaroslav Kysela
2006-01-10 11:50         ` Heikki Orsila
2006-01-05 14:51     ` Olivier Galibert
2006-01-05 15:26       ` Alexander E. Patrakov
2006-01-05 15:30         ` Jaroslav Kysela
2006-01-05 16:01           ` Alexander E. Patrakov
2006-01-05 18:11         ` Florian Schmidt
2006-01-05 15:33       ` Jaroslav Kysela
2006-01-05 16:48         ` Marcin Dalecki
2006-01-05 15:27     ` Heikki Orsila
2006-01-05 14:49   ` Alistair John Strachan
  -- strict thread matches above, loose matches on Subject: below --
2005-07-26 15:08 [2.6 patch] schedule obsolete OSS drivers for removal Adrian Bunk
2006-01-03 19:37 ` Adrian Bunk
2006-01-03 23:10   ` Tomasz Kłoczko
2006-01-04  9:37     ` [OT] ALSA userspace API complexity Alistair John Strachan
2006-01-04  9:37       ` Alistair John Strachan
2006-01-06  2:19       ` Marcin Dalecki
2006-01-08  1:30       ` Hannu Savolainen
     [not found]     ` <mailman.1136368805.14661.linux-kernel2news@redhat.com>
2006-01-04 11:00       ` Pete Zaitcev
2006-01-04 11:00         ` Pete Zaitcev
2006-01-04 11:35         ` Jaroslav Kysela
2006-01-04 11:35           ` Jaroslav Kysela
2006-01-04 11:47           ` Pete Zaitcev
2006-01-04 11:47             ` Pete Zaitcev
2006-01-04 14:23           ` Alistair John Strachan
2006-01-04 14:23             ` Alistair John Strachan
2006-01-05 11:41             ` Olivier Galibert
2006-01-05 11:41               ` Olivier Galibert
2006-01-05 12:01           ` Tomasz Kłoczko
2006-01-05 12:01             ` Tomasz Kłoczko
2006-01-05 12:23             ` Jaroslav Kysela
2006-01-05 12:23               ` Jaroslav Kysela
2006-01-05 14:21               ` Olivier Galibert
2006-01-05 14:21                 ` Olivier Galibert
2006-01-05 15:07               ` Tomasz Kłoczko
2006-01-05 15:07                 ` Tomasz Kłoczko
2006-01-05 16:14                 ` Takashi Iwai
2006-01-05 16:14                   ` Takashi Iwai
2006-01-05 17:19                   ` Marcin Dalecki
2006-01-05 17:19                     ` Marcin Dalecki
2006-01-05 20:13                   ` Tomasz Kłoczko
2006-01-05 20:13                     ` Tomasz Kłoczko
2006-01-07 14:32                     ` Takashi Iwai
2006-01-07 14:32                       ` Takashi Iwai
2006-01-08  2:03                       ` Olivier Galibert
2006-01-08  2:03                         ` Olivier Galibert
2006-01-08  2:26                         ` Martin Drab
2006-01-08  2:26                           ` Martin Drab
2006-01-08  2:26                           ` Martin Drab
2006-01-08 13:21                           ` Olivier Galibert
2006-01-08 13:21                             ` Olivier Galibert
2006-01-08 13:32                             ` Jaroslav Kysela
2006-01-08 13:32                             ` Jaroslav Kysela
2006-01-08 13:32                               ` Jaroslav Kysela
2006-01-08 23:18                               ` Pavel Machek
2006-01-08 23:18                               ` Pavel Machek
2006-01-08 23:18                                 ` Pavel Machek
2006-01-08 13:21                           ` Olivier Galibert
2006-01-08  9:42                         ` Jaroslav Kysela
2006-01-08  9:42                           ` Jaroslav Kysela
2006-01-08 13:04                           ` Olivier Galibert
2006-01-08 13:04                           ` Olivier Galibert
2006-01-08 13:04                             ` Olivier Galibert
2006-01-08 13:23                             ` Jaroslav Kysela
2006-01-08 13:23                             ` Jaroslav Kysela
2006-01-08 13:23                               ` Jaroslav Kysela
2006-01-08 13:38                           ` Marcin Dalecki
2006-01-08 13:38                             ` Marcin Dalecki
2006-01-08 13:38                           ` Marcin Dalecki
2006-01-08  9:42                         ` Jaroslav Kysela
2006-01-08  2:03                       ` Olivier Galibert
2006-01-05 23:06                   ` Hannu Savolainen
2006-01-05 23:06                     ` Hannu Savolainen
2006-01-05 23:39                     ` Lee Revell
2006-01-05 23:39                       ` Lee Revell
2006-01-05 23:56                       ` Hannu Savolainen
2006-01-05 23:56                         ` Hannu Savolainen
2006-01-06  0:03                         ` Lee Revell
2006-01-06  0:03                           ` Lee Revell
2006-01-05 23:40                     ` Lee Revell
2006-01-05 23:40                       ` Lee Revell
2006-01-05 23:59                       ` Hannu Savolainen
2006-01-05 23:59                         ` Hannu Savolainen
2006-01-06 15:03                         ` Stefan Smietanowski
2006-01-06 15:03                           ` Stefan Smietanowski
2006-01-06 15:48                           ` Erik Mouw
2006-01-06 15:48                             ` Erik Mouw
2006-01-06 18:37                           ` Lee Revell
2006-01-06 18:37                             ` Lee Revell
2006-01-10  9:43                         ` Jaroslav Kysela
2006-01-10  9:43                           ` Jaroslav Kysela
2006-01-10 13:42                           ` Hannu Savolainen
2006-01-10 13:42                             ` Hannu Savolainen
2006-01-10 14:08                             ` Jaroslav Kysela
2006-01-10 14:08                               ` Jaroslav Kysela
2006-01-10 14:17                               ` Hannu Savolainen
2006-01-10 14:17                                 ` Hannu Savolainen
2006-01-10 20:13                               ` Marcin Dalecki
2006-01-10 20:13                                 ` Marcin Dalecki
2006-01-06  0:14                       ` Marcin Dalecki
2006-01-06  0:14                         ` Marcin Dalecki
2006-01-06  0:29                         ` Martin Drab
2006-01-06  0:29                           ` Martin Drab
2006-01-06  0:57                           ` Marcin Dalecki
2006-01-06  0:57                             ` Marcin Dalecki
2006-01-06  1:49                             ` Martin Drab
2006-01-06  1:49                               ` Martin Drab
2006-01-06  1:21                         ` Zan Lynx
2006-01-06  1:21                           ` Zan Lynx
2006-01-06 15:17                           ` Stefan Smietanowski
2006-01-06 15:17                             ` Stefan Smietanowski
2006-01-09 23:55                             ` jerome lacoste
2006-01-10  2:29                               ` Stefan Smietanowski
2006-01-06  3:14                     ` Edgar Toernig
2006-01-06  3:14                       ` Edgar Toernig
2006-01-06  3:33                       ` Hannu Savolainen
2006-01-06  3:33                         ` Hannu Savolainen
2006-01-06 11:34                         ` Florian Schmidt
2006-01-06 11:34                           ` Florian Schmidt
2006-01-06  7:47                     ` Jan Engelhardt
2006-01-06  7:47                       ` Jan Engelhardt
2006-01-07 14:45                     ` Takashi Iwai
2006-01-07 14:45                       ` Takashi Iwai
2006-01-08  1:30                       ` Hannu Savolainen
2006-01-05 18:56                 ` Lee Revell
2006-01-05 18:56                   ` Lee Revell
2006-01-05 22:39                 ` Joern Nettingsmeier
2006-01-05 22:39                   ` Joern Nettingsmeier
2006-01-05 23:44                   ` Tomasz Kłoczko
2006-01-05 23:44                     ` Tomasz Kłoczko
2006-01-05 23:49                   ` Olivier Galibert
2006-01-05 23:49                     ` Olivier Galibert
2006-01-06  0:22                     ` Joern Nettingsmeier
2006-01-06  0:22                       ` Joern Nettingsmeier
2006-01-06  1:30                       ` Olivier Galibert
2006-01-06  1:30                         ` Olivier Galibert
2006-01-06  2:20                       ` Hannu Savolainen
2006-01-06  2:20                         ` Hannu Savolainen
2006-01-10  9:54                         ` Jaroslav Kysela
2006-01-10  9:54                           ` Jaroslav Kysela
2006-01-10 13:50                           ` Hannu Savolainen
2006-01-10 13:50                             ` Hannu Savolainen
2006-01-06  0:00                   ` Marcin Dalecki
2006-01-06  0:00                     ` Marcin Dalecki
2006-01-05 12:47             ` Leonard Milcin Jr.
2006-01-05 12:47               ` Leonard Milcin Jr.

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=43BBB7DC.2060303@gmail.com \
    --to=patrizio.bassi@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@suse.cz \
    /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.