Fix uninitialized variable causing corrupted GM master volume messages
ok ajacoutot
This commit is contained in:
parent
282eae7646
commit
56448578fb
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.106 2020/02/16 09:05:39 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.107 2020/04/22 09:51:25 ratchov Exp $
|
||||
|
||||
# XXX
|
||||
# sndio: what to do with (channel) map
|
||||
@ -10,6 +10,7 @@ PORTROACH= skipv:13.99.1
|
||||
COMMENT= cross-platform networked sound server
|
||||
|
||||
VERSION= 13.0
|
||||
REVISION= 0
|
||||
DISTNAME= pulseaudio-${VERSION}
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: module-sndio.c,v 1.9 2016/02/06 07:48:37 ajacoutot Exp $ */
|
||||
/* $OpenBSD: module-sndio.c,v 1.10 2020/04/22 09:51:25 ratchov Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
|
||||
*
|
||||
@ -475,6 +475,7 @@ sndio_thread(void *arg)
|
||||
u->last_master = u->set_master;
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user