* Opening another audio driver from a driver
@ 2007-01-09 3:59 Himanshu Chauhan
2007-01-09 5:20 ` James Courtier-Dutton
0 siblings, 1 reply; 3+ messages in thread
From: Himanshu Chauhan @ 2007-01-09 3:59 UTC (permalink / raw)
To: alsa-devel
Hello all,
I am working with the virtual device driver (dummy.c). Is it possible to
route the audio data
from the dummy driver to an actual hardware's device driver? For this,
do I need to open the
driver using syscalls? I don't want to make any changes on the other
driver. I didn't see
any exported functions in any of the actual drivers, so I cannot stack
my driver on that.
What should be done in this case?
Thanks
Regards
--Himanshu
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Opening another audio driver from a driver
2007-01-09 3:59 Opening another audio driver from a driver Himanshu Chauhan
@ 2007-01-09 5:20 ` James Courtier-Dutton
2007-01-09 10:30 ` Takashi Iwai
0 siblings, 1 reply; 3+ messages in thread
From: James Courtier-Dutton @ 2007-01-09 5:20 UTC (permalink / raw)
To: Himanshu Chauhan; +Cc: alsa-devel
On 09/01/07, Himanshu Chauhan <hs.chauhan@gmail.com> wrote:
> Hello all,
>
> I am working with the virtual device driver (dummy.c). Is it possible to
> route the audio data
> from the dummy driver to an actual hardware's device driver? For this,
> do I need to open the
> driver using syscalls? I don't want to make any changes on the other
> driver. I didn't see
> any exported functions in any of the actual drivers, so I cannot stack
> my driver on that.
>
> What should be done in this case?
>
> Thanks
>
> Regards
> --Himanshu
>
I don't think you can do that. I also don't see why you would want to do it.
If you want to like the dummy one to the real one, why use the dummy
one in the first place. Just use the real one.
James
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Opening another audio driver from a driver
2007-01-09 5:20 ` James Courtier-Dutton
@ 2007-01-09 10:30 ` Takashi Iwai
0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2007-01-09 10:30 UTC (permalink / raw)
To: James Courtier-Dutton; +Cc: alsa-devel
At Tue, 9 Jan 2007 16:20:44 +1100,
James Courtier-Dutton wrote:
>
> On 09/01/07, Himanshu Chauhan <hs.chauhan@gmail.com> wrote:
> > Hello all,
> >
> > I am working with the virtual device driver (dummy.c). Is it possible to
> > route the audio data
> > from the dummy driver to an actual hardware's device driver? For this,
> > do I need to open the
> > driver using syscalls? I don't want to make any changes on the other
> > driver. I didn't see
> > any exported functions in any of the actual drivers, so I cannot stack
> > my driver on that.
> >
> > What should be done in this case?
> >
> > Thanks
> >
> > Regards
> > --Himanshu
> >
>
> I don't think you can do that. I also don't see why you would want to do it.
> If you want to like the dummy one to the real one, why use the dummy
> one in the first place. Just use the real one.
In theory it's not impossible but very ugly and unrecommended at all.
Anyway, user-space solution is more appropriate for such a virtual
stuff, IMO. If apps require ALSA API, you can implement a plugin like
jack or polypaudio.
Takashi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-01-09 10:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-09 3:59 Opening another audio driver from a driver Himanshu Chauhan
2007-01-09 5:20 ` James Courtier-Dutton
2007-01-09 10:30 ` Takashi Iwai
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.