Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2007 11:42:11 +0200
From:      Olev <hannula@gmail.com>
To:        freebsd-multimedia@freebsd.org
Subject:   24bit sound support without bit depth reduction (newpcm)
Message-ID:  <4b8db2420712270142r57823a9eyf6c6ea50d529f96d@mail.gmail.com>

index | next in thread | raw e-mail

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: <Envy24HT audio (M-Audio Revolution 7.1)> 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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4b8db2420712270142r57823a9eyf6c6ea50d529f96d>