summaryrefslogtreecommitdiff
path: root/src/xine-engine/xine.c
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 /src/xine-engine/xine.c
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 'src/xine-engine/xine.c')
-rw-r--r--src/xine-engine/xine.c25
1 files changed, 24 insertions, 1 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c
index 837a3180d..6d6721be8 100644
--- a/src/xine-engine/xine.c
+++ b/src/xine-engine/xine.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine.c,v 1.60 2001/09/10 13:36:56 jkeil Exp $
+ * $Id: xine.c,v 1.61 2001/10/01 23:04:57 f1rmb Exp $
*
* top-level xine functions
*
@@ -621,4 +621,27 @@ int xine_get_stream_length (xine_t *this) {
return 0;
}
+int xine_get_audio_capabilities(xine_t *this) {
+
+ if(this->audio_out)
+ return (this->audio_out->get_capabilities(this->audio_out));
+
+ return AO_CAP_NOCAP;
+}
+
+int xine_get_audio_property(xine_t *this, int property) {
+
+ if(this->audio_out)
+ return(this->audio_out->get_property(this->audio_out, property));
+
+ return 0;
+}
+
+int xine_set_audio_property(xine_t *this, int property, int value) {
+
+ if(this->audio_out)
+ return(this->audio_out->set_property(this->audio_out, property, value));
+
+ return ~value;
+}