pkgsrc/audio/wsoundserver/patches/patch-ad
wiz 9ff7f3e724 Initial import of WSoundServer, a sound server for window maker, reacting
to window manager events (like starting/exiting applications, hiding,
maximizing, ...).
Supersedes audio/wmsound, thus closing pkg/9523.
2001-03-12 21:10:25 +00:00

13 lines
367 B
Text

$NetBSD: patch-ad,v 1.1.1.1 2001/03/12 21:10:25 wiz Exp $
--- wslib/audio_voxware.c.orig Fri Mar 31 22:14:40 2000
+++ wslib/audio_voxware.c
@@ -106,7 +106,7 @@
{
assert(audiofd > 0);
- if (ioctl(audiofd, SNDCTL_DSP_RESET) == -1) {
+ if (ioctl(audiofd, SNDCTL_DSP_RESET, NULL) == -1) {
perror("SNDCTL_DSP_RESET");
SErrorCode = SERR_DEVRESET;
return -1;