I found the function
Code: Select all
VLC_PUBLIC_API void libvlc_audio_set_volume( libvlc_instance_t *, int, libvlc_exception_t *);
It seems that mediacontrol APIs can solve this problem. But there are just functions to create mediacontrol instance from libvlc_instance, such as
Code: Select all
mediacontrol_new_from_instance( libvlc_instance_t* p_instance,mediacontrol_Exception *exception );
Need your help. Thank you