summaryrefslogtreecommitdiff
path: root/multimedia/avidemux/patches/patch-aa
blob: 03989969125388e3bde926a63aeba516966257a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-aa,v 1.8 2008/09/18 13:23:03 joerg Exp $

--- avidemux/ADM_audiodevice/ADM_deviceoss.cpp.orig	2007-09-25 22:01:54 +0300
+++ avidemux/ADM_audiodevice/ADM_deviceoss.cpp	2008-09-18 14:08:20 +0300
@@ -26,9 +26,10 @@
 #include <fcntl.h>
 #include <sys/ioctl.h>
 
-#if defined(ADM_BSD_FAMILY) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
+#if defined(ADM_BSD_FAMILY) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
 	#include <soundcard.h>
-	const char *dsp = DEVOSSAUDIO;;
+	const char *dsp = "/dev/dsp";
+	const char *device_mixer = "/dev/mixer";
 
 #elif defined(__OpenBSD__)
 	#include <soundcard.h>