Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: James Courtier-Dutton <James@superbug.demon.co.uk>
To: Olivier Galibert <galibert@pobox.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: [2.6 patch] schedule obsolete OSS drivers for removal
Date: Tue, 03 Jan 2006 22:33:33 +0000	[thread overview]
Message-ID: <43BAFBBD.9010206@superbug.demon.co.uk> (raw)
In-Reply-To: <20060103192449.GA26030@dspnet.fr.eu.org>

Olivier Galibert wrote:
> 
> As for the OSS API being crippled, I'd take the 3 ioctl calls you need
> to setup a simple stereo 16bits output with OSS than the 13 ALSA
> library calls anyday.  Especially with the impressive lack of
> documentation you get about what the hell is a period, or what you can
> do except aborting when you get an error.
> 

There is perfectly good documentation. You just have not bothered to 
look at it.
The ALSA api is good enough so you can actually decide what happens when 
you get an error. e.g. an over or under run. You can tell ALSA to stop 
the stream, or you can tell is to continue on just using silence frames 
until you send it some new sounds.
The OSS API cannot achieve that.

James

P.S. Sorry, but I had to wipe all the cross posting addresses.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

  parent reply	other threads:[~2006-01-03 22:33 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20050726150837.GT3160@stusta.de>
2005-07-28 15:04 ` [2.6 patch] schedule obsolete OSS drivers for removal Thorsten Knabe
     [not found] ` <Pine.LNX.4.61.0507281636040.20815@tek01.intern.thorsten-knabe.de>
2005-07-28 15:46   ` Adrian Bunk
2005-07-28 18:33   ` Lee Revell
2005-07-29  6:52   ` Jaroslav Kysela
     [not found]   ` <Pine.LNX.4.61.0507290849050.8400@tm8103.perex-int.cz>
2005-07-29 15:16     ` Adrian Bunk
2005-07-29 15:58     ` Thorsten Knabe
     [not found]     ` <Pine.LNX.4.61.0507291735500.31150@tek01.intern.thorsten-knabe.de>
2005-07-31 19:39       ` Adrian Bunk
     [not found]       ` <20050731193922.GI3608@stusta.de>
2005-08-01 14:26         ` Andrew Haninger
     [not found]         ` <105c793f0508010726dc12bc7@mail.gmail.com>
     [not found]           ` <Pine.LNX.4.61.0508020110050.13611@tek01.intern.thorsten-knabe.de>
2005-08-02 12:59             ` James Courtier-Dutton
2005-08-02 15:55             ` Thorsten Knabe
2005-07-31 13:50 ` James Courtier-Dutton
     [not found] ` <1122393073.18884.29.camel@mindpipe>
     [not found]   ` <42E65D50.3040808@pobox.com>
     [not found]     ` <20050727182427.GH3160@stusta.de>
     [not found]       ` <20050727203150.GF22686@tuxdriver.com>
     [not found]         ` <42E7F1F9.2050105@pobox.com>
     [not found]           ` <1122559208.32126.8.camel@localhost.localdomain>
     [not found]             ` <Pine.LNX.4.61.0507281542420.8458@tm8103.perex-int.cz>
2006-01-03 13:14               ` Adrian Bunk
     [not found] ` <200601031629.21765.s0348365@sms.ed.ac.uk>
     [not found]   ` <20060103170316.GA12249@dspnet.fr.eu.org>
     [not found]     ` <200601031716.13409.s0348365@sms.ed.ac.uk>
     [not found]       ` <20060103192449.GA26030@dspnet.fr.eu.org>
2006-01-03 22:33         ` James Courtier-Dutton [this message]
2006-01-03 23:41           ` Hannu Savolainen
2006-01-04  1:28           ` Olivier Galibert
     [not found] ` <20060103193736.GG3831@stusta.de>
     [not found]   ` <Pine.BSO.4.63.0601032210380.29027@rudy.mif.pg.gda.pl>
     [not found]     ` <mailman.1136368805.14661.linux-kernel2news@redhat.com>
     [not found]       ` <20060104030034.6b780485.zaitcev@redhat.com>
     [not found]         ` <Pine.LNX.4.61.0601041220450.9321@tm8103.perex-int.cz>
     [not found]           ` <Pine.BSO.4.63.0601051253550.17086@rudy.mif.pg.gda.pl>
     [not found]             ` <Pine.LNX.4.61.0601051305240.10350@tm8103.perex-int.cz>
     [not found]               ` <Pine.BSO.4.63.0601051345100.17086@rudy.mif.pg.gda.pl>
     [not found]                 ` <s5hmziaird8.wl%tiwai@suse.de>
     [not found]                   ` <Pine.LNX.4.61.0601060028310.27932@zeus.compusonic.fi>
     [not found]                     ` <s5h7j9chzat.wl%tiwai@suse.de>
2006-01-08  1:30                       ` [OT] ALSA userspace API complexity Hannu Savolainen
     [not found]                       ` <Pine.LNX.4.61.0601080225500.17252@zeus.compusonic.fi>
2006-01-08  9:24                         ` Jaroslav Kysela
2006-01-08 22:47                           ` Hannu Savolainen
2006-01-09 13:05                           ` René Rebe
     [not found]                           ` <200601091405.23939.rene@exactcode.de>
2006-01-09 15:10                             ` Hannu Savolainen
     [not found]                             ` <Pine.LNX.4.61.0601091637570.21552@zeus.compusonic.fi>
2006-01-09 17:12                               ` René Rebe
     [not found]                               ` <200601091812.55943.rene@exactcode.de>
2006-01-09 21:58                                 ` David Lang
2006-01-09 23:20                                   ` John Rigg
     [not found]                                   ` <20060109232043.GA5013@localhost.localdomain>
2006-01-09 23:21                                     ` David Lang
     [not found]                                     ` <Pine.LNX.4.62.0601091515570.4005@qynat.qvtvafvgr.pbz>
2006-01-10  0:16                                       ` John Rigg
     [not found]                                       ` <20060110001617.GA5154@localhost.localdomain>
2006-01-10  0:29                                         ` David Lang
2006-01-10  1:02                                         ` John Rigg
     [not found]                                         ` <Pine.LNX.4.62.0601091628340.4005@qynat.qvtvafvgr.pbz>
2006-01-10  0:44                                           ` Alan Cox
2006-01-10  1:56                                             ` Lee Revell
2006-01-10  1:27                                           ` John Rigg
2006-01-10  0:48                                     ` Hannu Savolainen
     [not found]                                     ` <Pine.LNX.4.61.0601100212290.26233@zeus.compusonic.fi>
2006-01-10  2:00                                       ` John Rigg
     [not found]                                       ` <20060110020017.GB5375@localhost.localdomain>
2006-01-10  2:17                                         ` Hannu Savolainen
     [not found]                           ` <Pine.LNX.4.61.0601090010090.31763@zeus.compusonic.fi>
2006-01-10 10:51                             ` Jaroslav Kysela
     [not found]                             ` <Pine.LNX.4.61.0601101144130.10330@tm8103.perex-int.cz>
2006-01-10 14:05                               ` Hannu Savolainen
     [not found]                               ` <Pine.LNX.4.61.0601101550390.24146@zeus.compusonic.fi>
2006-01-10 14:17                                 ` Jaroslav Kysela
     [not found]                                 ` <Pine.LNX.4.61.0601101508560.10330@tm8103.perex-in t.cz>
     [not found]                                   ` <Pine.LNX.4.61.0601101508560.10330@tm8103.perex-int.cz>
2006-01-10 14:39                                     ` Adam Tlałka
     [not found]                   ` <Pine.BSO.4.63.0601052022560.15077@rudy.mif.pg.gda.pl>
     [not found]                     ` <s5h8xtshzwk.wl%tiwai@suse.de>
2006-01-08  2:03                       ` Olivier Galibert
     [not found]                       ` <20060108020335.GA26114@dspnet.fr.eu.org>
2006-01-08  2:26                         ` Martin Drab
2006-01-08 13:21                           ` Olivier Galibert
     [not found]                           ` <20060108132122.GB96834@dspnet.fr.eu.org>
2006-01-08 13:32                             ` Jaroslav Kysela
     [not found]                             ` <Pine.LNX.4.61.0601081424560.10981@tm8103.perex-int.cz>
2006-01-08 23:18                               ` Pavel Machek
2006-01-09  0:33                               ` Hannu Savolainen
2006-01-09 12:24                                 ` Takashi Iwai
2006-01-09 17:49                             ` Thierry Vignaud
2006-01-08  9:42                         ` Jaroslav Kysela
     [not found]                         ` <Pine.LNX.4.61.0601081039520.9470@tm8103.perex-int.cz>
2006-01-08 13:04                           ` Olivier Galibert
     [not found]                           ` <20060108130447.GA96834@dspnet.fr.eu.org>
2006-01-08 13:23                             ` Jaroslav Kysela
2006-01-08 13:38                           ` Marcin Dalecki
2006-01-09  0:30                           ` Hannu Savolainen
2005-07-31 14:33 [2.6 patch] schedule obsolete OSS drivers for removal Peter Zubaj
     [not found] <s5hpsn8md1j.wl%tiwai@suse.de>
     [not found] ` <Pine.LNX.4.61.0601041545580.5750@yvahk01.tjqt.qr>
     [not found]   ` <F082489C-B664-472C-8215-BE05875EAF7D@dalecki.de>
     [not found]     ` <Pine.LNX.4.61.0601051154500.21555@yvahk01.tjqt.qr>
     [not found]       ` <0D76E9E1-7FB0-41FD-8FAC-E4B3C6E9C902@dalecki.de>
     [not found]         ` <1136486021.31583.26.camel@mindpipe>
     [not found]           ` <E09E5A76-7743-4E0E-9DF6-6FB4045AA3CF@dalecki.de>
     [not found]             ` <20060106034026.c37c1ed9.diegocg@gmail.com>
     [not found]               ` <20060106145723.GA73361@dspnet.fr.eu.org>
     [not found]                 ` <Pine.LNX.4.61.0601061938390.10811@tm8103.perex-int.cz>
2006-01-07  0:56                   ` Olivier Galibert

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=43BAFBBD.9010206@superbug.demon.co.uk \
    --to=james@superbug.demon.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=galibert@pobox.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox