$NetBSD: patch-aa,v 1.1.1.1 2009/01/23 14:54:23 jmcneill Exp $ --- modules/oss_audio/oss.c.orig 2008-04-18 11:57:49.000000000 -0400 +++ modules/oss_audio/oss.c @@ -89,7 +89,7 @@ static GF_Err OSS_Setup(GF_AudioOutput*d static void OSS_Shutdown(GF_AudioOutput*dr) { OSSCTX(); - ioctl(ctx->audio_dev,SNDCTL_DSP_RESET); + ioctl(ctx->audio_dev,SNDCTL_DSP_RESET,NULL); close(ctx->audio_dev); if (ctx->wav_buf) free(ctx->wav_buf); ctx->wav_buf = NULL; @@ -104,7 +104,7 @@ static GF_Err OSS_ConfigureOutput(GF_Aud if (!ctx) return GF_BAD_PARAM; /* reset and reopen audio-device */ - ioctl(ctx->audio_dev,SNDCTL_DSP_RESET); + ioctl(ctx->audio_dev,SNDCTL_DSP_RESET,NULL); close(ctx->audio_dev); if (ctx->wav_buf) free(ctx->wav_buf); ctx->wav_buf = NULL;