From owner-freebsd-multimedia@FreeBSD.ORG Mon Jul 24 13:35:43 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51D9316A4DA for ; Mon, 24 Jul 2006 13:35:43 +0000 (UTC) (envelope-from kosio.dimitrov@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE67943D5C for ; Mon, 24 Jul 2006 13:35:39 +0000 (GMT) (envelope-from kosio.dimitrov@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so788532wxd for ; Mon, 24 Jul 2006 06:35:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=pO3LJDssg/TGC557dpx/oWjdofpXgIU0g9qYL9EjOC+9sLM4TEqlKmMXBtwPp6X2lNIvm4LW6JxgVI51xCxTC2G1M0Pm2Xx3ABILBJzsybQxWLxiX2X1B2/hi2aitcNu0HgFFqH3ncknxDZ3oaGLOHxobiCPc+PAxRl3h3k//5s= Received: by 10.70.12.6 with SMTP id 6mr4915242wxl; Mon, 24 Jul 2006 06:35:39 -0700 (PDT) Received: by 10.70.54.6 with HTTP; Mon, 24 Jul 2006 06:35:38 -0700 (PDT) Message-ID: <8103ad500607240635w3d4a163ejf6eeb7b5c8fa3ca0@mail.gmail.com> Date: Mon, 24 Jul 2006 13:35:38 +0000 From: "Konstantin Dimitrov" To: "Alexander Leidinger" In-Reply-To: <20060724144119.1vowamod40c88kws@netchild.homeip.net> MIME-Version: 1.0 References: <200606072039.13422.shoesoft@gmx.net> <8103ad500607170201k259336a8te2f741f27fd8d3a4@mail.gmail.com> <8103ad500607171052u5196fcf9se50a5a4cbfa0c9f9@mail.gmail.com> <200607172337.48028.lrntct@gmail.com> <8103ad500607180035t50633780wbf585805464b8696@mail.gmail.com> <8103ad500607240437p256e65c2y79cd8fdc34a53cf0@mail.gmail.com> <20060724144119.1vowamod40c88kws@netchild.homeip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org, ariff@freebsd.org Subject: Re: Status of VIA Envy24 audio controller X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jul 2006 13:35:43 -0000 On 7/24/06, Alexander Leidinger wrote: > > Quoting Konstantin Dimitrov (from Mon, 24 > Jul 2006 11:37:59 +0000): > > > during the last weekend i have some free time and decided to look > through > > the list of reported problems: > > In case there are some open PRs I would like to know the number of them... i think there are no PRs, Stefan and Nikolas reported the problems to the freebsd-multimedia@freebsd.org > 5) vchans don't work > > > > it is a feature, not a bug and it is really great feature, so should be > > removed from the list with bugs. Envy24(1712) has very precise 36bit > wide > > hardware mixer, which is superior that vchans (software sound mixer in > the > > kernel). the driver supports Envy24(1712) hardware mixer, so up to 10 > > channels (5 stereo pairs) can be playback simultaneously and that is why > no > > software sound mixer (vchans) is needed. > > What if someone wants to play more than 5 stereo pairs at once? > > I agree that if an high quality feature like this is supported, it > should be used. But I don't agree that we should not use vchans. If > someone wants to use vchans, he should be able to use them (we can add > a note into the man page regarding the hardware feature and the > relative quality of it compared to vchans). > i agree that it is a good idea to be able to choose between the use of vchans or build-in hardware mixer and maybe it's not properly implemented like Ariff Abdullah mentioned, maybe Ariff will help for proper implementation, i'm not enough familiar with newpcm, also all others Envy24 chips - 172x don't have build-in hardware mixer and volume support, so it is great to hear that "8/16/24/32 sign/unsigned vchan/softpcmvol/ssrc does exist" and maybe in that case vchans are much better choice and will remove a lot of complexity and problems from the driver. Regarding the use of the hardware feature: How do you make use of it > in the driver? Do you allow the same stereo channel to get opened 5 > times and let the hardware handle everything? as you know the author of the driver is Katsurajima Naoto and he is using the following approach to achieve hardware mixing: route all Envy24 DMA channels to the build-in hardware mixer and register 5 channels using "pcm_register" and "pcm_addchan" and every channel using different Envy24 DMA channel. Bye, > Alexander. > > -- > Kiss your keyboard goodbye! > > http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 > http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 > >