开发者

Can we use AudioEngine on Windows Phone 7?

开发者 https://www.devze.com 2023-03-21 23:08 出处:网络
I am porting a Windows XNA app to Windows Phone.开发者_开发知识库It uses AudioEngine, SoundBank, Cue and WaveBank.

I am porting a Windows XNA app to Windows Phone.开发者_开发知识库 It uses AudioEngine, SoundBank, Cue and WaveBank.

I am getting compile errors on Windows Phone 7 for these objects. Are these supported on Windows 7? If not, what's the path to port this stuff?

    private Microsoft.Xna.Framework.Audio.AudioEngine audioEngine;
    private SoundBank soundBank;
    private WaveBank waveBank;
    private Cue musicCue;


As per your previous question, no, XACT isn't supported on Windows Phone 7. MSDN (and Google search) is very clear about that.

And as for porting it, I recommend you read this blog post: Playing with Sound on XNA 4 WP7.

Next time, try do a little research yourself ;-)

0

精彩评论

暂无评论...
验证码 换一张
取 消