From dbe080ec9f05cd216f4217c81409a37d3f4db969 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Wed, 2 Apr 2008 18:51:38 +0300 Subject: Change VOCTRL_[GET|SET]_EQUALIZER argument passing These were the only voctrl types with more than one argument. The second argument was passed using variable arguments. Change them to use a single argument (address of a struct containing both old arguments). This makes forwarding the arguments to other functions easier and allows simplifying code. --- libvo/video_out.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libvo/video_out.h') diff --git a/libvo/video_out.h b/libvo/video_out.h index 48799c484d..ae9a1c3e03 100644 --- a/libvo/video_out.h +++ b/libvo/video_out.h @@ -47,7 +47,15 @@ #define VOCTRL_SET_PANSCAN 16 /* equalizer controls */ #define VOCTRL_SET_EQUALIZER 17 +struct voctrl_set_equalizer_args { + const char *name; + int value; +}; #define VOCTRL_GET_EQUALIZER 18 +struct voctrl_get_equalizer_args { + const char *name; + int *valueptr; +}; //#define VOCTRL_GUI_NOWINDOW 19 /* Frame duplication */ #define VOCTRL_DUPLICATE_FRAME 20 -- cgit v1.2.3