All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vasily Khoruzhick <anarsoul@gmail.com>
To: Takashi Iwai <tiwai@suse.de>, alsa-devel@alsa-project.org
Subject: Re: Accessing alsa device in kernel space.
Date: Mon, 6 Aug 2007 22:29:46 +0300	[thread overview]
Message-ID: <200708062229.46691.anarsoul@gmail.com> (raw)
In-Reply-To: <s5hzm14d9k7.wl%tiwai@suse.de>

On 6 August 2007 you wrote:
> At Sun, 5 Aug 2007 19:11:23 +0300,
>
> Vasily Khoruzhick wrote:
> > Hi, how to access to alsa device from kernel space?
> > I want to create driver for virtual soundcard, that will perform mixing
> > and rate converting in kernelspace, and put result in real hardware. But
> > I found no documentation how to open alsa device in kernel space :(
>
> You shouldn't do it.  It'd be horribly messy.
> If you'd like to access the device files of other hardwares, simply
> use the user-space solution.
>
>
> Takashi

Btw, why there's oss-emulation in kernel? AFAIK it can't use pcm-plugins (e.g. 
dmix), so oss-applications that try to play through /dev/dsp can't produce 
any sound, or they block soundcard and other programs can't use it.

  reply	other threads:[~2007-08-06 19:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-05 16:11 Accessing alsa device in kernel space Vasily Khoruzhick
2007-08-06 14:25 ` Takashi Iwai
2007-08-06 19:29   ` Vasily Khoruzhick [this message]
2007-08-07  9:34     ` Takashi Iwai

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=200708062229.46691.anarsoul@gmail.com \
    --to=anarsoul@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --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.