All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Courtier-Dutton <James@superbug.demon.co.uk>
To: Jaroslav Kysela <perex@suse.cz>
Cc: Takashi Iwai <tiwai@suse.de>, alsa-devel@alsa-project.org
Subject: Re: User land drivers.
Date: Fri, 03 Sep 2004 16:58:09 +0100	[thread overview]
Message-ID: <41389491.1030804@superbug.demon.co.uk> (raw)
In-Reply-To: <Pine.LNX.4.58.0409031628530.21405@linux.local>

Jaroslav Kysela wrote:
> On Fri, 3 Sep 2004, Takashi Iwai wrote:
> 
> 
>>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.
> 
> 
> I think that we should follow the kernel space here - create only helper 
> functions which might be used in the user space driver design.
> 
> 						Jaroslav
> 

Currently, to support a new sound card in ALSA, we just write a small 
bit of code to talk to the hardware, and other alsa kernel modules 
provide all the helper functions(period_elapsed etc.), so for a user 
land driver(bluetooth), these helper functions should be in alsa-lib.

You mention the PCM plugin. I did not know there was already a PCM 
plugin api that could be used to talk to some other user land program. I 
just thought the PCM plugins were for sample rate conversion and simple 
stuff like that.

I might have to look at the docs again.

James


-------------------------------------------------------
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

  reply	other threads:[~2004-09-03 15:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-31 10:45 User land drivers James Courtier-Dutton
2004-09-03 12:29 ` Takashi Iwai
2004-09-03 13:11 ` Florian Schmidt
2004-09-03 14:08 ` Jaroslav Kysela
2004-09-03 14:27   ` Takashi Iwai
2004-09-03 14:31     ` Jaroslav Kysela
2004-09-03 15:58       ` James Courtier-Dutton [this message]
2004-09-03 15:57         ` Jaroslav Kysela
2004-09-03 18:05   ` David Lloyd

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=41389491.1030804@superbug.demon.co.uk \
    --to=james@superbug.demon.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=perex@suse.cz \
    --cc=tiwai@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.