From alsa-devel-owner@alsa.jcu.cz  Fri Oct 16 21:14:56 1998
Received: from altrade.nijmegen.inter.nl.net (altrade.nijmegen.inter.nl.net [193.67.237.6])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id VAA24706
	for <alsa-devel@jcu.cz>; Fri, 16 Oct 1998 21:14:43 +0200
Received: from obelix.fvdpol.inter.nl.net by altrade.nijmegen.inter.nl.net
	via bd99-16.Breda.NL.net [193.79.246.241] with ESMTP for <alsa-devel@jcu.cz>
	id VAA27043 (8.8.8/3.28); Fri, 16 Oct 1998 21:14:40 +0200 (MET DST)
Received: (from frank@localhost) by obelix.fvdpol.inter.nl.net (8.8.7/8.7.3) id TAA19609 for alsa-devel@jcu.cz; Fri, 16 Oct 1998 19:56:40 +0100
From: Frank van de Pol <F.K.W.van.de.Pol@inter.nl.net>
Message-Id: <199810161856.TAA19609@obelix.fvdpol.inter.nl.net>
Subject: Re: [linux-audio-dev] What to do ??? (fwd)
To: alsa-devel@jcu.cz
Date: Fri, 16 Oct 1998 19:56:40 +0100 (MET)
In-Reply-To: <Pine.LNX.3.96.981014104804.28026F-100000@entry.jcu.cz> from "Jaroslav Kysela" at Oct 14, 98 10:56:44 am
Content-Type: text
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

Jaroslav Kysela wrote:
> 
> > 
> >  Midi events would call the relavent functions in the above structure.
> > You would also
> > need to be able to forward the IOCTL calls. 
> 
> OK. I don't like OSS plug-in interface very much, but it maybe used as
> temporary hack until ALSA driver willn't be available. I think that all
> playback clients must be able receive events from ALSA sequencer kernel.
This hack can be done by writing an native ALSA driver that simply makes
calls to the OSS low-level stuff.

      [ALSA seq kernel]
              |
              V
      [ALSA seq driver]
              |
              V
      [Whatever lowlevel things: midi, GUS registers, OSS driver....]

The driver will hide the (possibly ugly details) of the hack


> We must at first design ALSA events and someone (I don't) may write ALSA
> event <-> OSS plug-in converter if it's possible (maybe we reach some
> major problem with OSS synth plug-in interface which willn't allow it).
Hmmm... I don't like creating a dependency on OSS for loading the synth
driver. I need to have a look first to see if things can be isolated in a
decent way.

> I willn't accept encapsulation of OSS events to ALSA events, too. (Maybe
> only at kernel level for OSS sequencer emulation - if someone writes it.)
> This is very bad thing...

Compatibility has never been a bad thing... Perhaps it's an ugly
thing...There will be no need to encapsulate the OSS events, as the OSS
is/will be a subset of the ALSA :-)

Cheers,
Frank.

+---- --- -- -  -   -    - 
|Frank van de Pol                  -o)
|F.K.W.van.de.Pol@inter.NL.net     /\\
|                                 _\_v
|Linux - Why use Windows, since there is a door?
|
|ALSA Sequencer: http://www.inter.nl.net/users/F.K.W.van.de.Pol/alsa/

