pkgsrc/multimedia/gpac/patches/patch-aa
jmcneill 908b0a5a7d Import gpac version 0.4.5.
GPAC features encoders and multiplexers, publishing and content distribution
tools for MP4 and 3GPP or 3GPP2 files and many tools for scene descriptions
(BIFS/VRML/X3D converters, SWF/BIFS, SVG/BIFS, etc...). MP4Box provides all
these tools in a single command-line application.
2009-01-23 14:54:23 +00:00

22 lines
768 B
Text

$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;