forcing two channel output

Alexander Motin mav at FreeBSD.org
Wed Sep 2 15:54:00 UTC 2009


Andriy Gapon wrote:
> on 02/09/2009 13:01 Alexander Motin said the following:
>> HDA controllers have limitations on number of data streams. You can see
>> it if boot with hw.snd.verbose=4. Usually there are 4 streams supported.
>> snd_hda allocates them statically now, one device - one data stream. So
>> you just could hit this limitation because of big number of devices. It
>> would be good to allocate streams dynamically on open, but it is not
>> implemented now.
> 
> Is this something that could tweak locally - bump some limit or slightly change
> some logic?

There is hardware limitation on number of streams. But logic is indeed 
could be improved.

> What should I look for in the source code?

Look for sc->num_iss, sc->num_oss and ch->sid.

-- 
Alexander Motin


More information about the freebsd-multimedia mailing list