ISpatialAudioObjectBase interface (spatialaudioclient.h)

Base interface that represents an object that provides audio data to be rendered from a position in 3D space, relative to the user. Spatial audio objects can be static or dynamic, which you specify with the type parameter to the ISpatialAudioObjectRenderStream::ActivateSpatialAudioObject method. Dynamic audio objects can be placed in an arbitrary position in space and can be moved over time. Static audio objects are assigned to one or more channels, defined in the AudioObjectType enumeration, that each correlate to a fixed speaker location that may be a physical or a virtualized speaker.

This interface is a part of Windows Sonic, Microsoft’s audio platform for more immersive audio which includes integrated spatial sound on Xbox and Windows.

Inheritance

The ISpatialAudioObjectBase interface inherits from the IUnknown interface. ISpatialAudioObjectBase also has these types of members:

Methods

The ISpatialAudioObjectBase interface has these methods.

 
ISpatialAudioObjectBase::GetAudioObjectType

Gets a value specifying the type of audio object that is represented by the ISpatialAudioObject.
ISpatialAudioObjectBase::GetBuffer

Gets a buffer that is used to supply the audio data for the ISpatialAudioObject.
ISpatialAudioObjectBase::IsActive

Gets a boolean value indicating whether the ISpatialAudioObject is valid.
ISpatialAudioObjectBase::SetEndOfStream

Instructs the system that the final block of audio data has been submitted for the ISpatialAudioObject so that the object can be deactivated and its resources reused.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1703 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header spatialaudioclient.h