Stiletto wrote: > On my VIA HD Audio i have some controls with same name. Example: > # ossmix -D > ... > 42: Stereo slider: '-' (record.rec1), parent=38, max=399, flags=103 > Current value=0x00000000 > 43: On/off switch: 'mute' ( record.rec1.mute), parent=38, flags=3 > Current value=0 (OFF) > 44: Group: 'mute', parent=38 > 45: On/off switch: 'mic-in' (record.rec1.mute.mic-in), parent=44, > flags=3 Current value=0 (OFF) > 46: On/off switch: 'mic-in' ( record.rec1.mute.mic-in), parent=44, > flags=3 Current value=0 (OFF) > 47: On/off switch: 'line-in' (record.rec1.mute.line-in), parent=44, > flags=3 Current value=0 (OFF) > 48: On/off switch: 'mic-in' (record.rec1.mute.mic-in ), parent=44, > flags=3 Current value=0 (OFF) > ... > 52: On/off switch: 'mic-in' (record.rec1.mute.mic-in), parent=44, > flags=3 Current value=0 (OFF) > 53: On/off switch: 'inputmix' (record.rec1.mute.inputmix ), parent=44, > flags=3 Current value=0 (OFF) > 54: Stereo slider: '-' (record.rec1), parent=38, max=479, flags=103 > Current value=0x000e000e > 55: Group: 'rec2', parent=37 > 56: On/off switch: 'play-frontM' ( record.rec2.play-frontm), parent=55, > flags=3 Current value=0 (OFF) > 57: On/off switch: 'inputmixM' (record.rec2.inputmixm), parent=55, > flags=3 Current value=1 (ON) > > It looks like "54: Stereo slider: '-' ( record.rec1), parent=38, > max=479, flags=103 Current value=0x000e000e" changes microphone volume, > but i can't change it with ossmix, so i wrote a patch. > Now it's possible to use "ossmix #54 5:5" > > P.S. savemixer works incorrectly too but i have no fix yet >
Have tried your patch and it didn't work & I don't understand why. No errors but "ossmix #54 5:5" is actioned exactly the same as "ossmix" (lists all controls). Tried replacing "#" with "@" on command line and in ossmix.c and it works correctly but "@" is not an intuitive replacement for number. Could it be something to do with internationalization? I use english uk. confused, Clive _______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel