如何在Windows Phone中本地化音频文件?

时间:2013-03-11 10:37:51

标签: xaml localization windows-phone-7.1 converter

我正在尝试本地化我的.wav音频文件。我得到这样的例外:

MS.Internal.Data.DynamicValueConverter' converter failed to convert value 'System.IO.UnmanagedMemoryStream' (type 'System.IO.UnmanagedMemoryStream');
BindingExpression: Path='LocalizedResources.AudioTest' DataItem='WPLocalizationMultilingualAppToolkit.LocalizedStrings' (HashCode=77186600);
target element is 'System.Windows.Controls.MediaElement' (Name='AudioTestElement'); 
target property is 'Source' (type 'System.Uri').. System.InvalidOperationException: Can't convert type System.IO.UnmanagedMemoryStream to type System.Uri.

如何将UnmanagedMemoryStream转换为Uri?

0 个答案:

没有答案