how to use this API IMEDIA_SetVolume(pMe->pIMedia, vol); | developer.brewmp.com how to use this API IMEDIA_SetVolume(pMe->pIMedia, vol); | developer.brewmp.com

Developer

how to use this API IMEDIA_SetVolume(pMe->pIMedia, vol);

Forums:

I use this API to change volume, but the API return the -2 as result. 

IMEDIA_SetVolume(pMe->pIMedia, vol);

I had registed the callback function first. the sample run on simulator is OK, but on real device is incorrect.