ISpatialAudioObjectBase::GetAudioObjectType method (spatialaudioclient.h)

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

[out] audioObjectType

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

   
Target Platform Windows
Header spatialaudioclient.h

See also

ISpatialAudioObject

ISpatialAudioObjectBase