X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plat.h;fp=plat.h;h=78dedf33bd52f21053fc1fc7bb001ecee3483801;hb=7ceadd9993ea84078e9d74d79215419e06496f90;hp=54436cd671acf2605aa158ed70948afdfa3a44ca;hpb=c54d04fd84f59c60c6ecdbd2502fbda5de735b4b;p=libpicofe.git diff --git a/plat.h b/plat.h index 54436cd..78dedf3 100644 --- a/plat.h +++ b/plat.h @@ -15,7 +15,7 @@ struct plat_target { int (*hwfilter_set)(int which); int (*lcdrate_set)(int is_pal); int (*gamma_set)(int val, int black_level); - int (*step_volume)(int is_up); + int (*step_volume)(int *volume, int diff); const char **vout_methods; int vout_method; int vout_fullscreen; @@ -76,10 +76,10 @@ static __inline int plat_target_gamma_set(int val, int black_level) } /* step sound volume up or down */ -static __inline int plat_target_step_volume(int is_up) +static __inline int plat_target_step_volume(int *volume, int diff) { if (plat_target.step_volume) - return plat_target.step_volume(is_up); + return plat_target.step_volume(volume, diff); return -1; }