Module Name: src Committed By: snj Date: Sun Mar 15 22:55:47 UTC 2015
Modified Files: src/sys/arch/arm/broadcom [netbsd-7]: bcm2835_vcaudio.c files.bcm2835 Log Message: Pull up following revision(s) (requested by jmcneill in ticket #594): sys/arch/arm/broadcom/bcm2835_vcaudio.c: revision 1.8, 1.9 sys/arch/arm/broadcom/files.bcm2835: revision 1.25 port-arm/49057: Raspberry Pi Audio volume control does not work - Use software volume control for outputs.master/inputs.dac - Previous volume control (for analog output only) is available on new outputs.headphones mixer control. - Add an outputs.select enum to choose between "auto", "headphones", and "hdmi" outputs. -- port-arm/49057: Raspberry Pi Audio volume control does not work AUDS server messages expect volume to be expressed in units of 1/256 dB, where we previously (incorrectly) treated it as as percentage. Map the NetBSD audio level (0-255) to 20 steps (levels from FreeBSD bcm2835_audio.c) and provide independent volume knobs for outputs.auto, outputs.hdmi, and outputs.headphones. To generate a diff of this commit: cvs rdiff -u -r1.3.4.1 -r1.3.4.2 src/sys/arch/arm/broadcom/bcm2835_vcaudio.c cvs rdiff -u -r1.21.2.3 -r1.21.2.4 src/sys/arch/arm/broadcom/files.bcm2835 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.