From owner-freebsd-multimedia@FreeBSD.ORG Fri Aug 8 15:05:28 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65DC8106566C for ; Fri, 8 Aug 2008 15:05:28 +0000 (UTC) (envelope-from frtzkatz@yahoo.com) Received: from web63009.mail.re1.yahoo.com (web63009.mail.re1.yahoo.com [69.147.96.220]) by mx1.freebsd.org (Postfix) with SMTP id 0030F8FC0C for ; Fri, 8 Aug 2008 15:05:27 +0000 (UTC) (envelope-from frtzkatz@yahoo.com) Received: (qmail 43601 invoked by uid 60001); 8 Aug 2008 15:05:27 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=ULa4FshcsTuKyBT7Fqsk8Av7+sksC1rxWWYo4Qz8N+2OoJgGaOsdjyJa+6vsIp8NNdTspsRyMMBaRmTwAZlsqyYj57A3cdRJg+TURPfu0vuSv7sPmQyUeaVwq40fIQHVKKlUXZS7NxC56lGXWumLv98RdUxvQYCPq8mzHngSRo8=; Received: from [71.104.221.209] by web63009.mail.re1.yahoo.com via HTTP; Fri, 08 Aug 2008 08:05:26 PDT X-Mailer: YahooMailWebService/0.7.218 Date: Fri, 8 Aug 2008 08:05:26 -0700 (PDT) From: Fritz Katz To: freebsd-multimedia@freebsd.org In-Reply-To: <20080807120015.34C32106568F@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <230623.43578.qm@web63009.mail.re1.yahoo.com> Subject: Re: How to create several dsp units? Help needed X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: frtzkatz@yahoo.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2008 15:05:28 -0000 > 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