FreeBSD и SBLive!
Выдержка из Handbook:
16.2.3 Utilizing Multiple Sound Sources
Contributed by Munish Chopra.
It is often desirable to have multiple sources of sound that are able to play simultaneously, such as when esound or artsd do not support sharing of the sound device with a certain application.
FreeBSD lets you do this through Virtual Sound Channels, which can be set with the sysctl(8) facility. Virtual channels allow you to multiplex your sound card's playback channels by mixing sound in the kernel.
To set the number of virtual channels, there are two sysctl knobs which, if you are the root user, can be set like this:
# sysctl hw.snd.pcm0.vchans=4
# sysctl hw.snd.maxautovchans=4
The above example allocates four virtual channels, which is a practical number for everyday use. hw.snd.pcm0.vchans is the number of virtual channels pcm0 has, and is configurable once a device has been attached. hw.snd.maxautovchans is the number of virtual channels a new audio device is given when it is attached using kldload(8). Since the pcm module can be loaded independently of the hardware drivers, hw.snd.maxautovchans can store how many virtual channels any devices which are attached later will be given.
If you are not using devfs(5 you will have to point your applications at /dev/dsp0.x, where x is 0 to 3 if hw.snd.pcm.0.vchans is set to 4 as in the above example. On a system using devfs(5 the above will automatically be allocated transparently to the user.
Это микшинг нескольких источников без всяких там esound и artsd, а мне надо чтоб surround был.
Или, может, artsd отпользовать, если ты под KDE сидишь. Вообще я где-то когда-то читал, что все родные каналы SBLive! под фрей должны прекрасно работать. Но вот как все это делалось не помню
artsd мне никак не поможет.
Оставить комментарий
hoha32
Их можно подружить как-нить чтоб работали хотя бы четыре канала, а не два? www.opensound.com не предлагать.