Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Notifies the system that the app has finished supplying audio data for the spatial audio objects activated with ActivateSpatialAudioObject.
Syntax
HRESULT EndUpdatingAudioObjects();
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 |
---|---|
|
EndUpdatingAudioObjects was called before BeginUpdatingAudioObjects. |
|
The ISpatialAudioClient associated with the spatial audio stream has been destroyed. |
|
The audio endpoint device has been unplugged, or the audio hardware or associated hardware resources have been reconfigured, disabled, removed, or otherwise made unavailable for use. |
|
A resource associated with the spatial audio stream is no longer valid. |
|
An internal error has occurred. |
|
The media associated with the spatial audio stream uses an unsupported format. |
Remarks
The pointers retrieved with ISpatialAudioObjectBase::GetBuffer can no longer be used after this method is called.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | spatialaudioclient.h |