Share via


IAudioSource Interface

Represents an audio frame source.

Syntax

interface IAudioSource : public IUnknown

Members

IAudioSource has the following members.

Methods

Name Description
get_AudioBeams Gets the audio beams.
get_AudioCalibrationState Gets a value indicating whether the audio source needs to be calibrated. This API is not implemented in the Kinect for Windows v2 SDK and will always return Calibrated. It is included to support cross-compilation with the Xbox SDK.
get_IsActive Gets the current activity status of this source.
get_KinectSensor Gets the parent sensor.
get_MaxSubFrameCount Gets the maximum number of sub frames.
get_SubFrameDuration Returns the sub frame duration.
get_SubFrameLengthInBytes Returns the sub frame length (in bytes).
GetFrameCapturedEventData Retrieves the event data when a frame is captured.
OpenReader Opens a new stream reader. This reader must be disposed.
SubscribeFrameCaptured Event that is used to notify the application that the next frame is ready to be delivered to subscribed readers or if a frame has been dropped.
UnsubscribeFrameCaptured Unsubscribes a subscribed event handler when a frame has been captured.

Requirements

Header: kinect.h

Library: kinect20.lib