from read, wp8 support amr
however, don't know how play it.
- when using
soundeffect
, can't hear anything, maybe it's becausesoundeffect
supportswav
only. asked here. - i don't want use
backgroundaudioplayer
ormediaplayerlauncher
, overkill
is there workaround play amr
soundeffect
, or there better api play ?
p/s: amr file record using wp8 api
you can play them using mediaelement. add mediaelement xaml file. set source opened file. like:
using(isolatedstoragefilestream stream = appstorage.openfile(mfilename, filemode.open)) { mmediaplayer.setsource(stream); }
then when want play audio call:
mmediaplayer.play();
Comments
Post a Comment