summaryrefslogtreecommitdiff
path: root/graphics/mplayer/patches/patch-am
blob: a70a254ff3bd51215af90c09ae47f3fddba10231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-am,v 1.2 2001/12/25 18:02:09 wiz Exp $
--- libao2/audio_out.h.orig	Fri Jun 22 02:34:58 2001
+++ libao2/audio_out.h	Mon Jul 30 22:10:10 2001
@@ -13,7 +13,7 @@
 typedef struct ao_functions_s
 {
 	ao_info_t *info;
-        int (*control)(int cmd,int arg);
+        int (*control)(int cmd,void* arg);
         int (*init)(int rate,int channels,int format,int flags);
         void (*uninit)();
         void (*reset)();
@@ -50,8 +50,10 @@
 #define AOCONTROL_QUERY_FORMAT 3 /* test for availabilty of a format */
 #define AOCONTROL_GET_VOLUME 4
 #define AOCONTROL_SET_VOLUME 5
+#define AOCONTROL_SET_MIXER_DEVICE 6
 
 typedef struct ao_control_vol_s {
 	float left;
 	float right;
+	int usemaster;
 } ao_control_vol_t;