From: Takashi Iwai Subject: Re: driver or plugin? Date: Thu, 05 Feb 2009 10:23:29 +0100 Message-ID: References: <4989F2A0.7020809@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 811811038B8 for ; Thu, 5 Feb 2009 10:23:29 +0100 (CET) In-Reply-To: <4989F2A0.7020809@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Hartman Mario Andres Cc: Alsa mailing list List-Id: alsa-devel@alsa-project.org At Wed, 04 Feb 2009 17:55:12 -0200, Hartman Mario Andres wrote: > > hi everybody, this is my first post in the list. > > currently i work in a new project, and i need is some help to finish > this. I wrote an application whose take data from serial port or from > bluetooth device(spp) and store the data in a raw file(the data is > audio). Now i need to do this: the data received from the port, send > to internet through voip software like ekiga, kphone, etc. > I read writing-an-alsa-driver.pdf, alsa-driver-api.pdf but i dont > know how create a source of data, for softwares of voip take data like > a microphone and also receive data from these programs. > I've been looking serial-u16550.c > > would be something similar to what the bluez bluetooth headphones If you can access the data with the existing device file, the plugin solution could be easier. The kernel driver is needed for the cases that you need some raw access to the hardware and/or need to handle interrupts directly. Takashi