sharpdx

Best way to play two audio files simultaneously in Windows Phone 8

一曲冷凌霜 提交于 2019-11-29 08:41:17
Currently looking into how I can go about playing two mp3 or aac format files at the same time in Windows Phone 8. At the moment I am using the XNA SoundEffect class but that only allows WAV files which is not ideal for transferring over a network. While researching I ran into SharpDX but that appears to mainly be catered to .WAV or playing one file at a time. I also discovered this question: play two sounds simultaneously in Windows 8 Metro App (C#/XAML) Multiple media elements are possible in Windows 8 but I'm not sure if they are in Windows Phone ( this question seems to disagree ) Any

Resizing a DXGI Resource or Texture2D in SharpDX

烈酒焚心 提交于 2019-11-29 06:59:04
I want to resize a screen captured using the Desktop Duplication API in SharpDX. I am using the Screen Capture sample code from the SharpDX Samples repository , relevant portion follows:. SharpDX.DXGI.Resource screenResource; OutputDuplicateFrameInformation duplicateFrameInformation; // Try to get duplicated frame within given time duplicatedOutput.AcquireNextFrame(10000, out duplicateFrameInformation, out screenResource); if (i > 0) { // copy resource into memory that can be accessed by the CPU using (var screenTexture2D = screenResource.QueryInterface<Texture2D>()) device.ImmediateContext

Best way to play two audio files simultaneously in Windows Phone 8

爷,独闯天下 提交于 2019-11-28 01:58:47
问题 Currently looking into how I can go about playing two mp3 or aac format files at the same time in Windows Phone 8. At the moment I am using the XNA SoundEffect class but that only allows WAV files which is not ideal for transferring over a network. While researching I ran into SharpDX but that appears to mainly be catered to .WAV or playing one file at a time. I also discovered this question: play two sounds simultaneously in Windows 8 Metro App (C#/XAML) Multiple media elements are possible

Resizing a DXGI Resource or Texture2D in SharpDX

大憨熊 提交于 2019-11-28 00:33:48
问题 I want to resize a screen captured using the Desktop Duplication API in SharpDX. I am using the Screen Capture sample code from the SharpDX Samples repository, relevant portion follows:. SharpDX.DXGI.Resource screenResource; OutputDuplicateFrameInformation duplicateFrameInformation; // Try to get duplicated frame within given time duplicatedOutput.AcquireNextFrame(10000, out duplicateFrameInformation, out screenResource); if (i > 0) { // copy resource into memory that can be accessed by the