From owner-freebsd-multimedia@FreeBSD.ORG Thu Dec 27 10:11:10 2007 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 F29CD16A46B for ; Thu, 27 Dec 2007 10:11:10 +0000 (UTC) (envelope-from hannula@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id C955D13C455 for ; Thu, 27 Dec 2007 10:11:10 +0000 (UTC) (envelope-from hannula@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so3354974rvb.43 for ; Thu, 27 Dec 2007 02:11:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=DLue0iPEx9MUaXDWi3yWf5ehfDsHf2p1wNZjtLx0A8o=; b=dQrDKbI7EUD3jq6aKRyko/46cdpsXJ1eiN7fOYFN0JiCeoeAyohXhSKXo1xAx1p95CcvC9JSSY1wQbWE2bGYedATU3PzzqYpDm33f7X9XLe7j7ycr8PGXGs8q1/FECzaYQvDYzHEDFVN0r1Gt8vCjZ2MevD8ZjnF1u9c8FXjz7g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=nAiX03NkdvtOk4xE+p3JlO/ryXCIcGxpcNrmniCI9YXognw64R+cOLP8Q6PVLhDUKPF3vaxNexjIKus1HD9zFCYsYDCgRY4reoj8pnWcGZJn3Kbp2nNCkOZy2RvMApDSidkPUFicZQsJrTQgUuxQoWXXZk0Xt7GUSAvv8bY6otI= Received: by 10.140.126.14 with SMTP id y14mr3880694rvc.169.1198748531321; Thu, 27 Dec 2007 01:42:11 -0800 (PST) Received: by 10.141.203.2 with HTTP; Thu, 27 Dec 2007 01:42:11 -0800 (PST) Message-ID: <4b8db2420712270142r57823a9eyf6c6ea50d529f96d@mail.gmail.com> Date: Thu, 27 Dec 2007 11:42:11 +0200 From: Olev To: freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 24bit sound support without bit depth reduction (newpcm) 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: Thu, 27 Dec 2007 10:11:11 -0000 I'm trying to get 24/32bit sound working on my envy24ht card that has support for 24bit audio in hardware. I've set hw.snd.maxautovchans=0 to turn off software channels (this card also supports up to 192kHz sampling rate in hardware) but still when I play 24bit audio I see this in verbose sndstat: pcm0: at io 0xb400:32,0xb000:128 irq 10 (1p/3r/0v channels duplex default) [pcm0:play:0:dsp0.0]: spd 96000, fmt 0x10010000/0x10000010, flags 0x00001030, 0x00000040, pid 14448 interrupts 264, underruns 264, ready 131040 [b:16384/8192/2|bs:131040/16380/8] {userland} -> feeder_root(0x10010000) -> feeder_24leto16le(0x10010000 -> 0x10000010) -> feeder_volume_s16(0x10000010) -> {hardware} Why does it do software feeder_24leto16le when the card can handle it (with s32le format there is feeder_32leto16le in the chain)? This card is bit-perfect for every sample rate (44.1, 48, 96, 192) and bitrate, there is no need to do software processing, how can I turn this off. Konstantin Dimitrov (the developer of envy24ht driver) said, that this is a problem with newpcm. And another question, envy24ht has multichannel support but that too does not seem to work with newpcm. Any ideas how to activate it? Olev