Hello,
i want to initialize my hdsp 9652 at startup to unmute the outputs without using hdspmixer.

Before the output fader controls were removed from the alsa control interface i used this script:

********************************************************
#!/bin/bash
 
i=0
j=0
count=26
count2=52
until [ $i -gt $count ]; do
   
    # inner loop delete all routing
    j=0
    until [ $j -gt $count2 ]; do
                amixer cset numid=5 $j,$i,0
                j=`expr $j + 1`
    done
   
    # set default routing software output n routes to hardware output n
    amixer cset numid=5 `expr $i + 26`,$i,32768
    i=`expr $i + 1`

    # set ouput faders to 0dB
    amixer cset iface=MIXER,name='Chn',index=$i 32768
done
**********************************************************

Using the current alsa driver i can't use the line "amixer cset iface=MIXER,name='Chn',index=$i 32768".
Is there any alternative (excluding hdspmixer)?

It would be very nice if there would be an parameter for the snd-hdsp module to control if the ouptuts are muted or at 0dB ( in a way like the "line_outs_monitor" parameter ).

Is it possible to initialize the hdsp with a saved hdspmixer setting without using hdspmixer or better said without running X.

Thanks, Martin
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to