Llegeix en anglès

Comparteix a través de


ISpatialAudioObjectForMetadataItems::GetAudioObjectType method

Gets a value specifying the type of audio object that is represented by the ISpatialAudioObjectForMetadataItems. 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

c++
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 ISpatialAudioObjectRenderStreamForMetadata::ActivateSpatialAudioObjectForMetadataItems method.

Requirements

Header

Spatialaudioclient.h

See also

ISpatialAudioObjectForMetadataItems