Hi ThereI was just wondering if anyone knew of a volume application that would control two sound cards at once.I've got two fitted as I'm playing streaming content out of one whist encoding audio from the other and it's working great except the levels are off.Dmix seg faults when I try to adjust levels for my secondary card and aumix doesn't see it.Any help would be gratefully appreciatedJohn

Which version of DSl are you using. DMIX has issues with dual soundcards, in that it when there are channels with the same name on both soundcards they both get changed at the same time. I did have a modified version (pre-murgaLUA) which worked well with dual sound card systems (in fact it would deal with any number of sound cards, but John Andrews found it seg faulted when the volume was changed repeatedly (must have been a lot of times as I never encountered the problem). The work-around John has implemented at present in DMIX for dual sound cards doesn't solve the problem for duplicate channel names.

If you want I can post the code I had for using multiple sound cards, but it will need to be converted for the MurgaLUA scripting language now used in DSL.

John Andrews found it seg faulted when the volume was changed repeatedly (must have been a lot of times as I never encountered the problem)

It may have been a situation where he was using a slider to change the volume. The default of a FLTK slider is to do its callback every time it's moved, which is many many times when you drag it back and forth rapidly...a good way to check for problems in a slider's callback

It may have been a situation where he was using a slider to change the volume. The default of a FLTK slider is to do its callback every time it's moved, which is many many times when you drag it back and forth rapidly...a good way to check for problems in a slider's callback

So far as I know this was the situation which caused the seg fault. It didn't do so in his original script. The only difference at this point in the script was how the device being altered was referenced. I had to add a few lines to sort out which mixer the device was controlled through. When a volume change is made the current DMIX executes umix for each mixer in turn, with the relevant device name. John has assumed in this approach that the same device name doesn't appear on multiple mixers. In the case of my Libretto there is a MIC device on both the mixers - one is the built-in mono microphone & the other is the external stereo plug-in. Adjusting MIC in the current DMIX alters both of these simultaneously, making the control somewhat useless as normally the internal microphone should be off (muted) when using an external microphone.

I haven't yet got round to converting my revised version of DMIX to MurgaLUA to use in the current version of DSL.