All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sampo Savolainen <v2@iki.fi>
To: Himanshu Chauhan <hs.chauhan@gmail.com>
Cc: Takashi Iwai <tiwai@suse.de>, alsa-devel@lists.sourceforge.net
Subject: Re: Using driver service from another driver
Date: Thu, 09 Nov 2006 00:16:46 +0200	[thread overview]
Message-ID: <1163024206.7355.4.camel@mustis> (raw)
In-Reply-To: <45520538.2090001@gmail.com>

On Wed, 2006-11-08 at 21:56 +0530, Himanshu Chauhan wrote:
> Okay. I am writing a dummy driver from which the application play and
> record.
> Suppose, mplayer is playing some movie and the audio is going to this dummy
> driver and Audacity is running which is recording from this dummy driver
>  (the stream coming from mplayer). But as no actual device is there, user
> can't listen to what is being played or recorded. I want a playthru like
> thing
> so that whatever data audacity is getting for recording can also be
> directed to an actual sound card driver from within the kernel.
> So that user can listen to whatever is being played by mplayer and
> is being recorded by audacity.

For inter-application audio plumbing, jackd (http://www.jackaudio.org)
is the way to go.

And for exporting audio out of mplayer:

 mplayer -ao pcm:file=out.wav -vo null [inputfile]


I'd say writing a device driver to do this task is like trying to squash
a fly with an expensive vase.


  Sampo



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

  reply	other threads:[~2006-11-08 22:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-07 17:17 Using driver service from another driver Himanshu Chauhan
2006-11-08 16:08 ` Takashi Iwai
2006-11-08 16:26   ` Himanshu Chauhan
2006-11-08 22:16     ` Sampo Savolainen [this message]
2006-11-08 23:52 ` Lee Revell
2006-11-09  5:06   ` Himanshu Chauhan
  -- strict thread matches above, loose matches on Subject: below --
2006-11-08 16:15 Himanshu Chauhan

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=1163024206.7355.4.camel@mustis \
    --to=v2@iki.fi \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=hs.chauhan@gmail.com \
    --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.