1# Audio redirection 2notify 0 { 3 match "system" "SND"; 4 match "subsystem" "CONN"; 5 match "type" "IN"; 6 match "cdev" "dsp[0-9]+"; 7 8 # FIXME: We are hardcoding /dev/vdsp.ctl here, simply because it is a 9 # common virtual_oss control device name. Until we find a proper way to 10 # define control devices here, /dev/vdsp.ctl can be changed to the 11 # control device of choice. 12 action "/usr/sbin/virtual_oss_cmd /dev/vdsp.ctl -R /dev/$cdev"; 13}; 14 15notify 0 { 16 match "system" "SND"; 17 match "subsystem" "CONN"; 18 match "type" "OUT"; 19 match "cdev" "dsp[0-9]+"; 20 21 # FIXME: See comment above. 22 action "/usr/sbin/virtual_oss_cmd /dev/vdsp.ctl -P /dev/$cdev"; 23}; 24