Date: Mon, 24 Jul 2006 13:35:38 +0000 From: "Konstantin Dimitrov" <kosio.dimitrov@gmail.com> To: "Alexander Leidinger" <Alexander@leidinger.net> Cc: freebsd-multimedia@freebsd.org, ariff@freebsd.org Subject: Re: Status of VIA Envy24 audio controller Message-ID: <8103ad500607240635w3d4a163ejf6eeb7b5c8fa3ca0@mail.gmail.com> In-Reply-To: <20060724144119.1vowamod40c88kws@netchild.homeip.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/24/06, Alexander Leidinger <Alexander@leidinger.net> wrote: > > Quoting Konstantin Dimitrov <kosio.dimitrov@gmail.com> (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 > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8103ad500607240635w3d4a163ejf6eeb7b5c8fa3ca0>