IMFSpatialAudioSample::AddSpatialAudioObject method
Adds a new spatial audio object, represented by an IMFSpatialAudioObjectBuffer object, to the sample.
Syntax
HRESULT AddSpatialAudioObject(
[in] IMFSpatialAudioObjectBuffer *pAudioObjBuffer
);
Parameters
- pAudioObjBuffer [in]
-
A pointer to the new IMFSpatialAudioObject.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The method succeeded. |
|
The supplied pointer is invalid. |
Requirements
|
Minimum supported client |
Windows 10, version 1703 [desktop apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|
|
Library |
|
See also
Show: