English 中文(简体)
不能找到一个金色听器
原标题:Could not find a Kinect audio device InvalidOperationException
  • 时间:2011-07-16 15:36:38
  •  标签:
  • c#
  • kinect

does any one know why the InvalidOperationException is being thrown when the code below in the Speech project (found in the Kinect SDK) is being hit. Ive installed of the prerequisite as instructed the project refuses to run.

是否有类似的问题?

var source = new KinectAudioSource()
问题回答

我在我用金字标入我的电脑之前,曾一度向该行投掷了英勇的行动。 除了上述Danejir(见问题的确切内容)之外,还检查:

  • Is the Kinect connected to your computer, and is the power supply plugged in/connected as well?
  • Did you install the x86 versions of all the speech libraries?

申请必须用停机开始使用Kinect传感器。 在对停机物体提出任何其他方法之前先启动。 执业时间。 启动内部框架功能发动机,该发动机开始从Kinect 传感器检索数据,并在设计就绪时信号应用。

最初的方法是,如果找不到Kinect传感器,就会扔下一种无效的行动。

catch (InvalidOperationException ex)
{
    MessageBox.Show(ex.Message);
}




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签