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: Nathanial Sloss <>
Subject: Re: kern/52781: audioctl can't set output gain
Date: Sat, 28 Apr 2018 20:03:26 +1000

 > This may not critical but is problematic to 8.0 release.
 > How about revert audio.c 1.354 ?
 I think it is not a good idea to revert this change as it was intended that 
 the play/record.gain will only set the gain the particular audio channel it is 
 applied to and mixerctl is used for setting the master volume which will effect 
 all channels.
 It is akin to having a mixer where by individual channel gains are set with 
 respect to each other and there is a master volume control (ie mixerctl -w 
 outputs.master) which will change the overall volume of all channels.
 It would be an unwanted side effect if the change was reverted to have setting 
 the gain on a particular channel influence other open channel's volume.
 I will update the documentation regarding how the gain fields work if the 
 current behavior is desired.
 Best regards,

Home | Main Index | Thread Index | Old Index