summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-09-06 14:36:54 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-09-06 14:36:54 +0000
commit75dc355377ef3cc01cfec10a1872ad64eee154ae (patch)
treee9cf280fd34399d8ff615ee70a313c319be982a2
parent2ccff65af9d3625bdc42f505924f6d9e427f0721 (diff)
downloadxine-lib-75dc355377ef3cc01cfec10a1872ad64eee154ae.tar.gz
xine-lib-75dc355377ef3cc01cfec10a1872ad64eee154ae.tar.bz2
audio mute parameter
CVS patchset: 2622 CVS date: 2002/09/06 14:36:54
-rw-r--r--include/xine.h.in3
-rw-r--r--src/xine-engine/xine_interface.c8
2 files changed, 9 insertions, 2 deletions
diff --git a/include/xine.h.in b/include/xine.h.in
index 089e14c16..5d29af9cc 100644
--- a/include/xine.h.in
+++ b/include/xine.h.in
@@ -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.h.in,v 1.5 2002/09/05 23:20:20 guenter Exp $
+ * $Id: xine.h.in,v 1.6 2002/09/06 14:36:54 guenter Exp $
*
* public xine-lib (libxine) interface and documentation
*
@@ -277,6 +277,7 @@ int xine_register_report_codec_cb(xine_t *self,
#define XINE_PARAM_SPU_CHANNEL 4
#define XINE_PARAM_VIDEO_CHANNEL 5
#define XINE_PARAM_AUDIO_VOLUME 6
+#define XINE_PARAM_AUDIO_MUTE 7
/* stream format detection strategies */
diff --git a/src/xine-engine/xine_interface.c b/src/xine-engine/xine_interface.c
index 695697511..c30bcb162 100644
--- a/src/xine-engine/xine_interface.c
+++ b/src/xine-engine/xine_interface.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_interface.c,v 1.4 2002/09/05 23:20:21 guenter Exp $
+ * $Id: xine_interface.c,v 1.5 2002/09/06 14:36:54 guenter Exp $
*
* convenience/abstraction layer, functions to implement
* libxine's public interface
@@ -318,6 +318,9 @@ void xine_set_param (xine_t *this, int param, int value) {
case XINE_PARAM_AUDIO_VOLUME:
break; /* FIXME: implement */
+ case XINE_PARAM_AUDIO_MUTE:
+ break; /* FIXME: implement */
+
}
}
@@ -342,6 +345,9 @@ int xine_get_param (xine_t *this, int param) {
case XINE_PARAM_AUDIO_VOLUME:
return -1; /* FIXME: implement */
+ case XINE_PARAM_AUDIO_MUTE:
+ return -1; /* FIXME: implement */
+
default:
printf ("xine_interface: unknown param %d\n", param);
abort ();