changeset 16388:9bce6b40def2

Support equalizer.
author reimar
date Sun, 04 Sep 2005 20:58:39 +0000
parents 8f347723d3b3
children fa804efbfaf6
files libvo/vo_cvidix.c
diffstat 1 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_cvidix.c	Sun Sep 04 16:57:51 2005 +0000
+++ b/libvo/vo_cvidix.c	Sun Sep 04 20:58:39 2005 +0000
@@ -165,6 +165,24 @@
     else vo_fs=1;
     setup_vidix();
     return VO_TRUE;      
+  case VOCTRL_SET_EQUALIZER:
+    {
+      va_list ap;
+      int value;
+      va_start(ap, data);
+      value = va_arg(ap, int);
+      va_end(ap);
+      return vidix_control(request, data, (int *) value);
+    }
+  case VOCTRL_GET_EQUALIZER:
+    {
+      va_list ap;
+      int *value;
+      va_start(ap, data);
+      value = va_arg(ap, int *);
+      va_end(ap);
+      return vidix_control(request, data, value);
+    }
   }  
   return vidix_control(request, data);
 }