IMFSpatialAudioObjectBuffer::SetType method (mfspatialaudio.h)
Sets the type of the spatial audio object represented by the buffer.
HRESULT SetType( AudioObjectType type );
A value from the AudioObjectType enumeration specifying the type of audio object.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
A spatial audio object can be of type AudioObjectType_Dynamic, which means that it can change position and orientation in 3D space over time, or it can have a value such as AudioObjectType_FrontLeft which represents the static position of a real or virtual speaker that does not change position over time.
|Minimum supported client||Windows 10, version 1703 [desktop apps only]|
|Minimum supported server||None supported|
|Header||mfspatialaudio.h (include Mfobjects.h)|