コード例 #1
0
        public void startAudioStream()
        {
            IReadOnlyList <AudioBeam> audioBeamList = this.kinectSensor.AudioSource.AudioBeams;

            audioBeam = audioBeamList[0];
            if (manualBeamAngle != -1000)
            {
                audioBeam.AudioBeamMode = AudioBeamMode.Manual;
                audioBeam.BeamAngle     = manualBeamAngle;
            }
            audioStream = new KinectAudioStream(audioBeam.OpenInputStream());
        }
コード例 #2
0
 public void stopAudioStream()
 {
     audioBeam   = null;
     audioStream = null;
 }