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



The following reply was made to PR kern/52781; it has been noted by GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: Nathanial Sloss <nat%netbsd.org@localhost>, matthew green <mrg%eterna.com.au@localhost>
Cc: gnats-bugs%netbsd.org@localhost, kern-bug-people%netbsd.org@localhost, 
	gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, bouyer%antioche.eu.org@localhost
Subject: Re: kern/52781: audioctl can't set output gain
Date: Sun, 20 May 2018 09:09:58 -0400

 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