summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-10-01 23:04:57 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2001-10-01 23:04:57 +0000
commitc48149133f36b24fb87924209a950681be0727c7 (patch)
tree18a1126eeaecf6a6310fb9d74e91a531b2c62f40 /include
parent9d7e1140adde62d0959af667474a54470d98968a (diff)
downloadxine-lib-c48149133f36b24fb87924209a950681be0727c7.tar.gz
xine-lib-c48149133f36b24fb87924209a950681be0727c7.tar.bz2
Add simple mixer control in xine-engine/ao plugins. Fixed some missings
in audio_decoder. xine-ui warn at compile time due of a #warning i added, i will remove it pretty soon. CVS patchset: 715 CVS date: 2001/10/01 23:04:57
Diffstat (limited to 'include')
-rw-r--r--include/xine.h.tmpl.in34
1 files changed, 33 insertions, 1 deletions
diff --git a/include/xine.h.tmpl.in b/include/xine.h.tmpl.in
index 9a804c30f..171f3ca3f 100644
--- a/include/xine.h.tmpl.in
+++ b/include/xine.h.tmpl.in
@@ -28,7 +28,7 @@
\endverbatim
*/
/*
- * $Id: xine.h.tmpl.in,v 1.42 2001/09/26 17:19:48 jkeil Exp $
+ * $Id: xine.h.tmpl.in,v 1.43 2001/10/01 23:04:57 f1rmb Exp $
*
*/
@@ -809,6 +809,38 @@ void xine_select_spu_channel (xine_t *self, int channel);
/** @} end of xine_management */
+ /**
+ * \defgroup audio_group Audio.
+ * @{
+ */
+#warning ADD COMMENTS
+#define AO_CAP_NOCAP 0x00000000 /* driver has no capabilities */
+#define AO_CAP_MODE_A52 0x00000001 /* driver supports A/52 output */
+#define AO_CAP_MODE_AC5 0x00000002 /* driver supports AC5 output */
+/* 1 sample == 2 bytes (C) */
+#define AO_CAP_MODE_MONO 0x00000004 /* driver supports mono output */
+/* 1 sample == 4 bytes (L,R) */
+#define AO_CAP_MODE_STEREO 0x00000008 /* driver supports stereo output */
+/* 1 sample == 8 bytes (L,R,LR,RR) */
+#define AO_CAP_MODE_4CHANNEL 0x00000010 /* driver supports 4 channels */
+/* 1 sample == 10 bytes (L,R,LR,RR,C) */
+#define AO_CAP_MODE_5CHANNEL 0x00000020 /* driver supports 5 channels */
+/* 1 sample == 12 bytes (L,R,LR,RR,C,LFE) */
+#define AO_CAP_MODE_5_1CHANNEL 0x00000040 /* driver supports 5.1 channels */
+#define AO_CAP_MIXER_VOL 0x00000080 /* driver supports mixer control */
+#define AO_CAP_PCM_VOL 0x00000100 /* driver supports pcm control */
+#define AO_CAP_MUTE_VOL 0x00000200 /* driver can mute volume */
+
+/* properties supported by get/set_property() */
+#define AO_PROP_MIXER_VOL 0
+#define AO_PROP_PCM_VOL 1
+#define AO_PROP_MUTE_VOL 2
+
+int xine_get_audio_capabilities(xine_t *self);
+int xine_get_audio_property(xine_t *self, int property);
+int xine_set_audio_property(xine_t *self, int property, int value);
+ /** @} end of audio_group */
+
/**
* \defgroup browse_group Browsing support
* @{