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

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -