From: Takashi Iwai Subject: Re: Re: [linux-audio-user] midi and ecasound Date: Wed, 17 Aug 2005 11:58:21 +0200 Message-ID: References: <43645.192.168.0.2.1123890071.squirrel@192.168.0.2> <46225.192.168.0.2.1123891721.squirrel@192.168.0.2> <1123884862.12680.62.camel@mindpipe> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Kai Vehmanen Cc: A list for linux audio users , Lee Revell , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Wed, 17 Aug 2005 00:48:44 +0300 (EEST), Kai Vehmanen wrote: > > Hi, > > On Fri, 12 Aug 2005, Lee Revell wrote: > > Um, /dev/snd/midi* are not supposed to be used directly by applications. > > They are intended to be accessed via alsa-lib. > > has there been (or is under planning) any major changes to this, or known > problems? So far, no. Simple open/read/write/close the device should work. Of course, this will lack of the functionality alsa-lib provides, e.g. like virtual MIDI. > Ecasound (and many other apps) has used /dev/snd/midi* with no reported > problems for many years now (at least since ALSA 0.6.x). See for example: > http://lalists.stanford.edu/lad/2001/Apr/0176.html > > I understand the general principle of getting rid of all direct > "user-space apps <-> ALSA kernel modules" interactions, but in this case > I'd like to stick with the current code until there's some practical > reason to update (adding support for ALSA sequencer API is another thing). virmidi is already in alsa-lib, so the byte streaming access via snd_rawmidi_read()/write() can work as a sequencer port. Takashi ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf