Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

how can I play a mp3 file in unity in the uwp

I have some external mp3 files. And in unity editor I can use NAudio to change mp3 to wav, or I can use libmpg123-0 to get the byte data. But in uwp, I encountered some problems:
NAudio.dll can't compile, libmpg123-0 can't be found.
My purpose is to change a text to speech in unity, and it should work in hololens. Now I get the mp3 stream, but I can't find a way to play it.
Who can help me?

Best Answer

  • Options
    t_xliangt_xliang
    Answer ✓

    OK, finally I use the "mp3sharp" to solve the problem in hololens. I delete many codes which can't use in the UWP, and modify some codes to make it adapt to my need.

Answers

Sign In or Register to comment.