vidix equalizer support by Jake Page <jake@CS.Stanford.EDU>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11037 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2003-10-07 22:29:37 +00:00
parent e0df7cf4ab
commit bf6af9920f
1 changed files with 30 additions and 0 deletions

View File

@ -1150,5 +1150,35 @@ static uint32_t control(uint32_t request, void *data, ...)
case VOCTRL_QUERY_FORMAT:
return query_format(*((uint32_t*)data));
}
#ifdef CONFIG_VIDIX
if (vidix_name) {
switch (request) {
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);
}
}
}
#endif
return VO_NOTIMPL;
}