Partager via


ISpatialAudioRenderStreamForHrtf::EndUpdatingAudioObjects method

Notifies the system that the app has finished supplying audio data for the spatial audio objects activated with ActivateSpatialAudioObjectForHrtf.

Syntax

HRESULT EndUpdatingAudioObjects();

Parameters

This method has no parameters.

Return value

If the method succeeds, it returns S_OK. If it fails, possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
SPTLAUDCLNT_E_OUT_OF_ORDER

EndUpdatingAudioObjects was called before BeginUpdatingAudioObjects.

 

Remarks

The pointers retrieved with ISpatialAudioObjectForHrtf::GetBuffer can no longer be used after this method is called.

Requirements

Header

Spatialaudiohrtf.h

See also

ISpatialAudioRenderStreamForHrtf