且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

[UWP] ogg在模拟器中发出声音

更新时间:2023-02-27 07:57:12

你好FhilFab,

Hi FhilFab,

不幸的是,UWP环境本身不支持.ogg编解码器和文件格式。如果您想使用此编解码器,则需要找到第三方解决方案并将其添加到您的应用中。 

Unfortunately the UWP environment does not support the .ogg codec and file format natively. If you would like to use this codec you will need to find a 3rd party solution and add it to your app. 

以下是指向支持的编解码器的链接UWP平台上的框。 

Here is a link to the codecs that are supported out of the box on the UWP platform. 

https://docs.microsoft.com/en-us/windows/uwp/audio-video-camera/supported-codecs

我希望这有帮助,

James