To increase or to mute volume programmatically for windows phone -


i wanted know there classes or api accessing same ? have seen lots of applications on windows phone store. click here sample.

for windows phone, can use microsoft media foundation apis. if want use volume apis in c# need make reference c++ project it.

imfmediaengine::setvolume method :

hresult setvolume(     [in]  double volume ); 

volume [in] : volume level. volume expressed attenuation level, 0.0 indicates silence , 1.0 indicates full volume (no attenuation).

i think can use background audio agent too.


Comments

Popular posts from this blog

python - matpltolib navigation toolbar edit curves and parameters line color automatically changes issue -

node.js - Nodejs javascript implementation of PBEWithMD5AndTripleDES/CBC/PKCS5Padding -