Fix setting master volume on i386

PR:		215521
Submitted by:	t@tobik.me (maintainer)
MFH:		2016Q4
This commit is contained in:
Emanuel Haupt 2016-12-24 10:27:18 +00:00
parent 7fcaaa9841
commit b28cdbff15
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=429325
2 changed files with 11 additions and 0 deletions

View File

@ -6,6 +6,7 @@
PORTNAME= aucatctl
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.sndio.org/

View File

@ -0,0 +1,10 @@
--- aucatctl.c.orig 2016-12-22 19:50:06 UTC
+++ aucatctl.c
@@ -69,6 +69,7 @@ setmaster(unsigned vol)
msg.start = SYSEX_START;
msg.type = SYSEX_TYPE_RT;
+ msg.dev = 0;
msg.id0 = SYSEX_CONTROL;
msg.id1 = SYSEX_MASTER;
msg.u.master.fine = 0;