> If you use app with ALSA OSS emulation then for 1 oss device you can
> use only one card:
> /dev/dsp0 = SB Live and you can not use /dev/dsp1 = Sb Live too at
> same time.
Ok, clear. All the apps I am planning to run support alsa anyway,
although I have to find out to make them use the other pcm device.
At the moment I focus on step 1: routing pcm input to spdif output with
a volume control. As long as I can't get that working, the rest will
have to wait.
> These FX buses are from /dev/dsp0 (OSS) and from alsa front device
> FXBUS_PCM_LEFT 0x00
> FXBUS_PCM_RIGHT 0x01
Yep, these are for the moment the only ones I am interested in.
> First load six 2 channel volume control patches (number 0 to 5)
> make these connection:
> headphone output
> optical output
This is what I did for step 1 (see above):
# this would make a 2 channel volume control with 1 "knob"
lo10k1 -n --ctrl "c-Left,Right:pcmvol,t-pcmvol:1,s-pcmvol:100"
--patch_name pcmvol -a vol_2.emu10k1
# this would connect the PCM channels to the volume patch
lo10k1 --conadd "PIN(pcmvol,0,1)=FX(0,1)"
# this would connect the volume patch to the spdif outputs
lo10k1 --connadd "POUT(pcmvol,0,1)=OUT(2,3)"
That's it. It gives me one channel only.
I have this feeling that (from /proc/asound/card0/emu10k1) this is bad,
but I don't know how to fix it:
Captured FX Outputs :
Output 00 [PCM Left]
Output 12 [MIDI Reverb]
> diffrence between = and > is that = first disconnect target and then
> connect and > will only connect to target
Yep, I already figured that. But it's not a problem for the moment.
> If you have still problem, than I can make this script for you, but I
> can do this next week. Or you can try qlo10k1.
That's a nice offer, but I prefer to do it myself, I want to understand
the whole thing. Also I can't compile ql10k1 because I don't have kde...
But with some help I am sure I'll manage somehow. With the oss driver I
managed too after a lot of hassle.
Thank you for your help so far.