NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/52781: audioctl can't set output gain



On May 20,  8:27pm, nat%netbsd.org@localhost (Nathanial Sloss) wrote:
-- Subject: Re: kern/52781: audioctl can't set output gain

| Hi,
| 
| I've come up with an alternative.  See attached.
| 
| In this patch audioctl devices default to the mix ring allowig hw gain to be 
| adjusted (recording/ play back/ balance).  If one were to issue audioctl 
| without specifing -p vchan it would set the hw paramaters one could still issue 
| audioctl -p 0 to achieve the same thing.
| 
| It would mean existing sun audio apps that set the master volume via 
| play/record->gain would not have to be changed and nor would scripts that want 
| to set the hw gain via audioctl(1) and don't specify the -p swich have to be 
| changed.

Sounds good!

christos


Home | Main Index | Thread Index | Old Index