Share via


KinectAudioSource.Start Method ()

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Opens an audio data stream (16-bit PCM format, sampled at 16 kHz) and starts capturing audio data streamed out of a sensor.

Syntax

public Stream Start ()
'Declaration
Public Function Start As Stream 

Return Value

Type: Stream
A stream of audio samples.

Remarks

Once the data stream is open, use the returned Stream Class to read audio data. Unlike the other streams of data coming from a sensor, which are delivered in frames, audio data is continuously streamed out of a sensor.

If audio is not continuously required in your application, use the timeout argument passed to KinectAudioSource.Start (TimeSpan) to discard unneeded audio data.

Use Stop to stop capturing audio data and close the audio data stream.

Requirements

Namespace: Microsoft.Kinect

Assembly: Microsoft.Kinect (in microsoft.kinect.dll)

See Also

Reference

KinectAudioSource Class
KinectAudioSource Members
Microsoft.Kinect Namespace