ISpatialAudioObject::GetAudioObjectType method

Gets a value specifying the type of audio object that is represented by the ISpatialAudioObject. This value indicates if the object is dynamic or static. If the object is static, one and only one of the static audio channel values to which the object is assigned is returned.

Syntax


HRESULT GetAudioObjectType(
  [out] AudioObjectType *audioObjectType
);

Parameters

audioObjectType [out]

A value specifying the type of audio object that is represented

Return value

If the method succeeds, it returns S_OK.

Remarks

Set the type of the audio object with the type parameter to the ISpatialAudioObjectRenderStream::ActivateSpatialAudioObject method.

Requirements

Header

Spatialaudioclient.h

See also

ISpatialAudioObject

 

 

Show: