From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: User land drivers. Date: Fri, 03 Sep 2004 16:27:57 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <413456AE.7000007@superbug.demon.co.uk> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from Cantor.suse.de (cantor.suse.de [195.135.220.2]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id 13A8D2C0 for ; Fri, 3 Sep 2004 16:27:58 +0200 (MEST) In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Jaroslav Kysela Cc: James Courtier-Dutton , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Fri, 3 Sep 2004 16:08:17 +0200 (CEST), Jaroslav wrote: > > On Tue, 31 Aug 2004, James Courtier-Dutton wrote: > > > Would it be possible to have userland processes creating /dev/ files ? > > It's not necessary for the ALSA case. > > > Alternatively, could we provide a new plugin method, so we can add > > userland PCMs, Mixer, etc. > > Yes, a new PCM i/o plugin in alsa-lib is sufficient. For mixer, we need to > create an additional layer. > > Actually, I'm thinking to design a loopback soundcard in kernel in > conjunction with a daemon with these targets: > > 1) creating "virtual" hardware (PCMs, mixers, RawMIDI ports etc.) > 2) redirect OSS emulation from the kernel space back to user space > 3) redirect ALSA devices back to user space Yes, I believe this will make it easier to develop the "hybrid" architecture like this case. Also, we may provide a more easy-to-use interface for additional ALSA pcm plugins. The current design of plugin is bound too tightly to the ALSA lowlevel structure, and it's a pain to implement all on that at each time. Takashi ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click