Windows 8.1. Can't create MasteringVoice object #269
Comments
Are you using latest dev package with DirectX11_2-winrt assemblies? (Which are only compatible with Windows 8.1) |
I'm using SharpDX.dll version 2.5.1.0 and SharpDX.XAudio2.dll version 2.5.1.0 (from latest dev-package 2.5.1, from DirectX11_2-Signed-winrt folder) |
Ok, but is it from Bin\DirectX11_2-winrt directory? |
i took it from DirectX11_2-Signed-winrt folder |
@rumyancevpavel, |
I am using Win 8.1 and have no issues creating and using the MasteringVoice. Public Class Audio3D_Class |
@ArtiomCiumac, yes, it seems that You right. I trying to run my code in Virtual Machine with no audio device. Thanks. |
…ould be fired. Add MediaEngineApp sample on Dekstop.
The following code works perfect on Windows 8, but in Windows 8.1 it throws exception (see attached image):
internal class DxSoundManager
{
public DxSoundManager
{
Engine = new XAudio2();
MasteringVoice = new MasteringVoice(Engine)
}
private XAudio2 Engine;
private MasteringVoice MasteringVoice;
}
The text was updated successfully, but these errors were encountered: