简体   繁体   English

我们可以在 Windows Phone 7 上使用 AudioEngine 吗?

[英]Can we use AudioEngine on Windows Phone 7?

I am porting a Windows XNA app to Windows Phone.我正在将 Windows XNA 应用程序移植到 Windows 电话。 It uses AudioEngine, SoundBank, Cue and WaveBank.它使用 AudioEngine、SoundBank、Cue 和 WaveBank。

I am getting compile errors on Windows Phone 7 for these objects.对于这些对象,我在 Windows Phone 7 上遇到编译错误。 Are these supported on Windows 7? 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.根据您之前的问题,不,Windows 电话 7 不支持 XACT。MSDN(和 Google 搜索)对此非常清楚。

And as for porting it, I recommend you read this blog post: Playing with Sound on XNA 4 WP7 .至于移植它,我建议你阅读这篇博文: 在 XNA 4 WP7 上播放声音

Next time, try do a little research yourself;-)下次,尝试自己做一些研究;-)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM