Date: Fri, 8 Aug 2008 08:05:26 -0700 (PDT) From: Fritz Katz <frtzkatz@yahoo.com> To: freebsd-multimedia@freebsd.org Subject: Re: How to create several dsp units? Help needed Message-ID: <230623.43578.qm@web63009.mail.re1.yahoo.com> In-Reply-To: <20080807120015.34C32106568F@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Wednesday, August 6, 2008 "Alexander Motin" wrote:
> ...
>
> As I understand I need somehow to create several /dev/dspX
> and possibly several /dev/mixerX devices to let applications
> operate them independently. Is it possible to do within the
> same pcm0 hardware device?
>
> Second pcm_addchan() call creates only pcm0:play:dsp0.p1,
> but I need something like pcm0:play:dsp1.p0. Is in possible
> or dsp0 is hard bound to the pcm0?
>
> If dsp0 hard bound to pcm0 then is it possible to create
> pcm1 dynamically within same hardware?
>
_________________
There is some example code in: /usr/src/sys/dev/bktr/bktr_os.c
for the 'bktr' driver which allows a PCI TV-tuner card with the
old 'Brooktree' chipset to function in FreeBSD environs.
It creates three devices attached to the same card:
/dev/bktr
/dev/tuner
/dev/vbi
I hope this is applicable to what you are trying to do.
Regards,
-- Fritz Katz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?230623.43578.qm>
